Feature can #4

Merged
0xFEEDC0DE64 merged 7 commits from feature_can into master 2021-05-23 17:53:27 +02:00
3 changed files with 227 additions and 26 deletions
Showing only changes of commit 99484cc91d - Show all commits

View File

@@ -69,9 +69,9 @@ struct MotorFeedback {
uint8_t error = 0;
int16_t current = 0;
uint16_t chops = 0;
bool hallA = false,
hallB = false,
hallC = false;
bool hallA = false;
bool hallB = false;
bool hallC = false;
};
inline uint16_t calculateChecksum(MotorFeedback feedback) {
@@ -92,7 +92,7 @@ struct Feedback {
int16_t batVoltage = 0;
int16_t boardTemp = 0;
int16_t timeoutCntSerial = 0;
int16_t timeoutCntSerial = 0;
uint16_t checksum;
};