Просмотр исходного кода

display: Disable dynamic packet lengths.

Improves compatibility with counterfeit "NRF24L01" chips.
Mathias Gottschlag 5 лет назад
Родитель
Сommit
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,

Загрузка…
Отмена
Сохранить