Selaa lähdekoodia

display: Disable dynamic packet lengths.

Improves compatibility with counterfeit "NRF24L01" chips.
Mathias Gottschlag 5 vuotta sitten
vanhempi
commit
71e2b5083d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      display/firmware/src/radio.rs

+ 1
- 1
display/firmware/src/radio.rs Näytä tiedosto

@@ -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…
Peruuta
Tallenna