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
/Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-circuit-playground/model/CircuitPlayground.cpp: In member function 'void codal::CircuitPlayground::onListenerRegisteredEvent(codal::Event)':
/Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-circuit-playground/model/CircuitPlayground.cpp:134:34: error: no matching function for call to 'codal::LIS3DH::update()'
134 | accelerometer.update();
| ^
In file included from /Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-core/./inc/drivers/LIS3DH.h:34,
from /Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-circuit-playground/model/CircuitPlayground.h:45,
from /Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-circuit-playground/model/CircuitPlayground.cpp:26:
/Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-core/./inc/driver-models/Accelerometer.h:214:21: note: candidate: 'virtual int codal::Accelerometer::update(codal::Sample3D)'
214 | virtual int update(Sample3D s);
| ^~~~~~
/Users/microbit-carlos/workspace/mbef/codal/codal/libraries/codal-core/./inc/driver-models/Accelerometer.h:214:21: note: candidate expects 1 argument, 0 provided
make[2]: *** [libraries/codal-circuit-playground/CMakeFiles/codal-circuit-playground.dir/model/CircuitPlayground.cpp.obj] Error 1
make[1]: *** [libraries/codal-circuit-playground/CMakeFiles/codal-circuit-playground.dir/all] Error 2
make: *** [all] Error 2
From commit 829ff82/ PR #10 the change from accelerometer.updateSample() to accelerometer.update(), or perhaps one of the dependencies might need to be updated to match this change.
The text was updated successfully, but these errors were encountered:
From commit 829ff82/ PR #10 the change from
accelerometer.updateSample()
toaccelerometer.update()
, or perhaps one of the dependencies might need to be updated to match this change.The text was updated successfully, but these errors were encountered: