Chris Mullins преди 8 години
родител
ревизия
dc1f1da516
променени са 1 файла, в които са добавени 8 реда и са изтрити 3 реда
  1. 8 3
      lib/MiLight/LT8900MiLightRadio.cpp

+ 8 - 3
lib/MiLight/LT8900MiLightRadio.cpp

@@ -341,9 +341,14 @@ int LT8900MiLightRadio::iReadRXBuffer(uint8_t *buffer, size_t maxBuffer) {
     _currentPacketPos += 2;
   }
 
-  #ifdef DEBUG_PRINTF
-  printf_P(PSTR("Read %d/%d bytes in RX, read %d bytes into buffer\n"), _currentPacketPos, _currentPacketLen, bufferIx);
-  #endif
+#ifdef DEBUG_PRINTF
+  printf_P(
+    PSTR("Read %d/%d bytes in RX, read %d bytes into buffer\n"),
+    _currentPacketPos,
+    _currentPacketLen,
+    bufferIx
+  );
+#endif
 
   if (_currentPacketPos >= _currentPacketLen) {
     _currentPacketPos = 0;