浏览代码

display: Disable dynamic packet lengths.

Improves compatibility with counterfeit "NRF24L01" chips.
父节点
当前提交
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,

正在加载...
取消
保存