diff --git a/radio/src/bluetooth.cpp b/radio/src/bluetooth.cpp index 11576c9be..c6a8626e7 100644 --- a/radio/src/bluetooth.cpp +++ b/radio/src/bluetooth.cpp @@ -217,7 +217,7 @@ void Bluetooth::processTrainerByte(uint8_t data) if (bufferIndex >= BLUETOOTH_PACKET_SIZE) { uint8_t crc = 0x00; - for (int i=0; i<(BLUETOOTH_PACKET_SIZE-1); i++) { + for (int i=0; i < BLUETOOTH_PACKET_SIZE - 1; i++) { crc ^= buffer[i]; } if (crc == buffer[BLUETOOTH_PACKET_SIZE-1]) {