Przeglądaj źródła

display: Disable dynamic packet lengths.

Improves compatibility with counterfeit "NRF24L01" chips.
Mathias Gottschlag 5 lat temu
rodzic
commit
71e2b5083d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      display/firmware/src/radio.rs

+ 1
- 1
display/firmware/src/radio.rs Wyświetl plik

@@ -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,

Ładowanie…
Anuluj
Zapisz