From 13c0217bf19a2ddfb24b673455f6d362a46ebf7b Mon Sep 17 00:00:00 2001 From: Thomas Albers Raviola <thomas@thomaslabs.org> Date: Wed, 12 Feb 2025 01:56:34 +0100 Subject: Tabify source code --- boot/devmode/devmode.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'boot/devmode/devmode.h') diff --git a/boot/devmode/devmode.h b/boot/devmode/devmode.h index f3322d0..e860893 100644 --- a/boot/devmode/devmode.h +++ b/boot/devmode/devmode.h @@ -10,28 +10,28 @@ #endif enum header_type { - CMD_PING, - CMD_INFO, - CMD_BOOT, - CMD_READ, - CMD_WRITE, - CMD_IO_READ, - CMD_IO_WRITE, - CMD_ECHO + CMD_PING, + CMD_INFO, + CMD_BOOT, + CMD_READ, + CMD_WRITE, + CMD_IO_READ, + CMD_IO_WRITE, + CMD_ECHO }; struct header { - u8 type; - u8 bank; - u16 address; - u16 length; - u16 checksum; + u8 type; + u8 bank; + u16 address; + u16 length; + u16 checksum; } PACKED; // static_assert(sizeof(struct header) == 8, "struct header is not PACKED"); enum error { - ERR_TIMEOUT = -1 + ERR_TIMEOUT = -1 }; #define MAX_PACKET_SIZE 256 -- cgit v1.2.3