Chris Mullins il y a 8 ans
Parent
commit
8307272b23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/MiLight/PL1167_nRF24.cpp

+ 1 - 1
lib/MiLight/PL1167_nRF24.cpp

@@ -357,7 +357,7 @@ int PL1167_nRF24::internal_receive()
     uint16_t crc = calc_crc(tmp, outp - 2);
     if ( ((crc & 0xff) != tmp[outp - 2]) || (((crc >> 8) & 0xff) != tmp[outp - 1]) ) {
 #ifdef DEBUG_PRINTF
-  printf("Failed CRC: expected %d, got %d (%d,%d)\n", crc, tmp[outp-2], tmp[outp-1]);
+  printf("Failed CRC: expected %d, got (%d,%d)\n", crc, tmp[outp-2], tmp[outp-1]);
 #endif
       return 0;
     }