mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-29 02:02:28 +00:00
Merge pull request #2637 from cschuhen/feature/fix_buf_size
Buffer is not big enough for FD frames.
This commit is contained in:
commit
263d1b024c
@ -46,7 +46,7 @@ impl Registers {
|
||||
let read_idx = self.regs.rxfs(fifonr).read().fgi();
|
||||
let mailbox = self.rx_fifo_element(fifonr, read_idx as usize);
|
||||
|
||||
let mut buffer: [u8; 8] = [0; 8];
|
||||
let mut buffer = [0u8; 64];
|
||||
let maybe_header = extract_frame(mailbox, &mut buffer);
|
||||
|
||||
// Clear FIFO, reduces count and increments read buf
|
||||
|
Loading…
Reference in New Issue
Block a user