diff --git a/include/patty/kiss.h b/include/patty/kiss.h index c1e289b..ca3e0ec 100644 --- a/include/patty/kiss.h +++ b/include/patty/kiss.h @@ -10,12 +10,12 @@ #define PATTY_KISS_BUFSZ 4096 -#define PATTY_KISS_COMMAND_PORT(cmd) \ - ((cmd & 0xf0) >> 4) - #define PATTY_KISS_COMMAND(cmd) \ (cmd & 0x0f) +#define PATTY_KISS_COMMAND_PORT(cmd) \ + ((cmd & 0xf0) >> 4) + enum patty_kiss_command { PATTY_KISS_DATA = 0x00, PATTY_KISS_TXDELAY = 0x01,