Unused parameters make the code confusing and intimidating. They can also cause bugs, like in the case of MotionService. MotionService::OnNewMotionValues(x, y, z) is called before updating the values inside MotionController, but these parameters are ignored, instead using the values from MotionController, which haven't been updated yet.
DebugPins was removed, since it's not used anywhere and was causing a warning.
Include directories from other projects were marked SYSTEM, to suppress their warnings.
Unused parameters make the code confusing and intimidating. They can also cause bugs, like in the case of MotionService.
MotionService::OnNewMotionValues(x, y, z)
is called before updating the values inside MotionController, but these parameters are ignored, instead using the values fromMotionController
, which haven't been updated yet.DebugPins was removed, since it's not used anywhere and was causing a warning.
Include directories from other projects were marked
SYSTEM
, to suppress their warnings.