diff --git a/Cargo.lock b/Cargo.lock index 07762f9e136c3a587c6be2bf47f0d1ed9ededdfa..f9b715a0666230fce8183cf85537429b7fcfeb8d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -324,7 +324,7 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" [[package]] name = "rf4463" version = "0.1.0" -source = "git+https://gitlab.scd31.com/stephen/rf4463-lib#774a61b622b74dc0c0bdd19ea7ae33677b2d1bdc" +source = "git+https://gitlab.scd31.com/stephen/rf4463-lib#a96d7e33a7bc6c9eb5d1cc2d0c47fd5c5776c366" dependencies = [ "embedded-hal 0.2.7", ] diff --git a/src/main.rs b/src/main.rs index 365b11159a34584c72c63d3b511f8b90ff4cd741..48a68a56a914df98e899ba1c1f7aaacb660a4eee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ mod app { use crate::spi_data::{self, SpiData}; // in # packets - const BUFFER_LEN: usize = 150; + const BUFFER_LEN: usize = 100; // in bytes // explicitly make this smaller than a packet so that we don't buffer things in the tx DMA for a while