From 99484cc91d01b14b4ac77f7559dfcb063b0a4384 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sun, 23 May 2021 17:52:23 +0200 Subject: [PATCH] Indent fixes --- bobbycar-serial.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bobbycar-serial.h b/bobbycar-serial.h index 2a6430a..58a904a 100644 --- a/bobbycar-serial.h +++ b/bobbycar-serial.h @@ -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; };