Преглед на файлове

display: Disable dynamic packet lengths.

Improves compatibility with counterfeit "NRF24L01" chips.
Mathias Gottschlag преди 5 години
родител
ревизия
71e2b5083d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      display/firmware/src/radio.rs

+ 1
- 1
display/firmware/src/radio.rs Целия файл

@@ -62,7 +62,7 @@ impl Radio {
62 62
             .unwrap();
63 63
         nrf24.flush_rx().unwrap();
64 64
         nrf24.flush_tx().unwrap();
65
-        nrf24.set_pipes_rx_lengths(&[Some(32); 6]).unwrap();
65
+        nrf24.set_pipes_rx_lengths(&[None; 6]).unwrap();
66 66
 
67 67
         EnabledRadio {
68 68
             radio: self,

Loading…
Отказ
Запис