final working
This commit is contained in:
@@ -22,7 +22,7 @@ async fn send_byte(byte: u8, tx: &Tx) {
|
||||
}
|
||||
|
||||
/// [START] [LEN] [PAYLOAD ...] [CRC] [P] [STOP]
|
||||
pub async fn nrz(payload: &[u8], tx: &Tx) {
|
||||
pub async fn msg_encode(payload: &[u8], tx: &Tx) {
|
||||
// start
|
||||
send_byte(START, tx).await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user