aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/pb-serial.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-14 17:39:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-14 17:39:25 +0200
commit959d43a0aeedcbc80c9bb2d4c99b4f5bd4e7b3d2 (patch)
tree1e9b9b75fd5995f45afb88752547e0b81db48c64 /lib/pbdrv/pb-serial.h
parent15ee8bd8885c8b3d0b4650fe609c253780f04bdf (diff)
clean up message type architecture
Diffstat (limited to 'lib/pbdrv/pb-serial.h')
-rw-r--r--lib/pbdrv/pb-serial.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/pbdrv/pb-serial.h b/lib/pbdrv/pb-serial.h
index 22031dc..d3d0007 100644
--- a/lib/pbdrv/pb-serial.h
+++ b/lib/pbdrv/pb-serial.h
@@ -22,15 +22,9 @@ pb_ser_r_t pb_ser_r;
typedef void pb_ser_free_t(pb_msg_t * msg);
pb_ser_free_t pb_ser_free;
-__pb_cmd(msg_header)
-__pb_cmd(cmd_req_read)
-__pb_cmd(cmd_res_read)
-__pb_cmd(cmd_req_write)
-__pb_cmd(cmd_req_state)
-__pb_cmd(cmd_res_state)
-__pb_cmd(cmd_req_set_state)
-__pb_cmd(cmd_req_magic)
-__pb_cmd(cmd_res_magic)
+__pb_cmd(cmd_prop)
+__pb_cmd(cmd_state)
+__pb_cmd(cmd_magic)
#ifdef __cplusplus
}