Moved calibration in controller object (#111)

This commit is contained in:
CommanderRedYT
2021-10-12 16:55:42 +02:00
committed by 0xFEEDC0DE64
parent abf92f439e
commit 63c6322792
4 changed files with 21 additions and 1 deletions

View File

@@ -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;
};
}