Skip to content
Snippets Groups Projects
Commit b8d9c80a authored by Benjamin Koch's avatar Benjamin Koch
Browse files

fixup

parent 34e4415a
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,9 @@ impl<H: RS485Handler> RS485<H> {
sm1.set_pin_dirs(embassy_rp::pio::Direction::Out, &[&tx_en_pin_pio, &tx_pin_pio]);
sm1.set_enable(true);
const TX_BUF_LENGTH: usize = 32; //H::TX_BUF_LENGTH;
//FIXME Do we have any way to get this number from the outside?
const TX_BUF_LENGTH: usize = 256;
defmt::assert!(TX_BUF_LENGTH == H::TX_BUF_LENGTH);
let mut tx_data = [0u32; TX_BUF_LENGTH+1];
let mut tx_in_progress = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment