Moved calibration in controller object (#111)
This commit is contained in:
@@ -52,8 +52,12 @@ struct Controller {
|
||||
bool feedbackValid{};
|
||||
bobbycar::protocol::serial::Feedback feedback{};
|
||||
|
||||
|
||||
#ifdef FEATURE_SERIAL
|
||||
FeedbackParser parser{serial, feedbackValid, feedback};
|
||||
#endif
|
||||
struct Calibrated {
|
||||
float batVoltage;
|
||||
} calibrated;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user