Skip to content

Commit c2a4854

Browse files
maximeborgesjessebraham
authored andcommitted
connection: Swap error and status in CommandResponse
1 parent c502b00 commit c2a4854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espflash/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ pub struct CommandResponse {
2929
pub return_op: u8,
3030
pub return_length: u16,
3131
pub value: u32,
32-
pub status: u8,
3332
pub error: u8,
33+
pub status: u8,
3434
}
3535

3636
/// An established connection with a target device

0 commit comments

Comments
 (0)