You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do get copy of Bsec2 Instance. This is problematic when I want to know which instance is calling my handler. I would prefer to get pointer to Bsec2 address as a third argument of newDataCallback
By calling newDataCallback this way:
Bosch-BSEC2-Library/src/bsec2.cpp
Line 359 in 4a08fd0
I do get copy of Bsec2 Instance. This is problematic when I want to know which instance is calling my handler. I would prefer to get pointer to Bsec2 address as a third argument of newDataCallback
Bosch-BSEC2-Library/src/bsec2.h
Line 71 in 4a08fd0
so
bsecCallback
could be changed to something like:typedef void (*bsecCallback)(const bme68xData data, const bsecOutputs outputs, Bsec2 *bsec);
I have very basic knowledge of c++, so I don't know if this approach would be correct. What do you think?
The text was updated successfully, but these errors were encountered: