vad7 3 лет назад
Родитель
Сommit
dc703868e1
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 1
      README.md
  2. 1 1
      nrf24scan.c

+ 2 - 1
README.md

@@ -31,7 +31,8 @@ Long press OK - view addresses.<br>
 <br>
 <br>
 <img src="https://raw.githubusercontent.com/vad7/nrf24scan/master/Screenshot-3.png">
 <img src="https://raw.githubusercontent.com/vad7/nrf24scan/master/Screenshot-3.png">
 <br><br>
 <br><br>
-Decode the Packet Control Field (long press OK in the list and then press '>'):
+Decode the Packet Control Field (long press OK in the list and then press '>').<br>
+ESB (Enhanced Shockburst) option must be turned off.
 <br>
 <br>
 <img src="https://raw.githubusercontent.com/vad7/nrf24scan/master/Screenshot-4.png">
 <img src="https://raw.githubusercontent.com/vad7/nrf24scan/master/Screenshot-4.png">
 <br>
 <br>

+ 1 - 1
nrf24scan.c

@@ -706,7 +706,7 @@ int32_t nrf24scan_app(void* p) {
 						} else if(what_doing == 1) {
 						} else if(what_doing == 1) {
 							if(view_log_arr_x < VIEW_LOG_MAX_X) view_log_arr_x++;
 							if(view_log_arr_x < VIEW_LOG_MAX_X) view_log_arr_x++;
 						} else if(what_doing == 2) {
 						} else if(what_doing == 2) {
-							view_log_decode_PCF ^= 1;
+							if(NRF_ESB == 0) view_log_decode_PCF ^= 1;
 						}
 						}
 					}
 					}
 					break;
 					break;