1
Fork 0

handle more than one peice of sensor data at a time

This commit is contained in:
Andy Killorin 2025-02-09 14:19:21 -05:00
parent 1457a035ee
commit ef93458e94
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -33,7 +33,10 @@ impl Decoder for FramedCodec {
}
};
let remainder = remainder.to_vec();
src.clear();
src.extend_from_slice(&remainder);
Ok(Some(message))
}