Chris Mullins 8 年之前
父節點
當前提交
8307272b23
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     }