summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/remote.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-11-23 16:42:05 +0100
committerMichael Buesch <mb@bu3sch.de>2009-11-23 16:42:05 +0100
commit17700d9fafe11fcf7f3e50ea3e2c2488a874bc7b (patch)
tree764b037da14805aceb525a3f3147a947703a9eca /pressure_control/firmware/remote.h
parenta1c8fe578c837ec39872d2b2c588b02db3dc8955 (diff)
downloadcnc-17700d9fafe11fcf7f3e50ea3e2c2488a874bc7b.tar.xz
cnc-17700d9fafe11fcf7f3e50ea3e2c2488a874bc7b.zip
pressure_control: Implement async TX queue
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/remote.h')
-rw-r--r--pressure_control/firmware/remote.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pressure_control/firmware/remote.h b/pressure_control/firmware/remote.h
index 36caf40..a513d56 100644
--- a/pressure_control/firmware/remote.h
+++ b/pressure_control/firmware/remote.h
@@ -29,8 +29,9 @@ enum remote_message_id {
MSG_TURNON,
- MSG_ID_MASK = 0x7F,
- MSG_FLAG_REQ_ERRCODE = 0x80,
+ MSG_ID_MASK = 0x3F,
+ MSG_FLAG_QOVERFLOW = 0x40, /* TX queue overflow */
+ MSG_FLAG_REQ_ERRCODE = 0x80, /* Error code is requested */
};
enum remote_message_error {
bues.ch cgit interface