summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/remote.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-04-04 22:08:58 +0200
committerMichael Buesch <mb@bu3sch.de>2009-04-04 22:08:58 +0200
commitde20d70112c89d0a144b5605e3bed1def78a6b87 (patch)
tree733cbf54fe15d5954fb69adc3ef5dfe10791e0a3 /pressure_control/firmware/remote.h
parent734219d3cd138524b2fd0a17460409c4826eee19 (diff)
downloadcnc-de20d70112c89d0a144b5605e3bed1def78a6b87.tar.xz
cnc-de20d70112c89d0a144b5605e3bed1def78a6b87.zip
pressure_control: Add more debugging code
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/remote.h')
-rw-r--r--pressure_control/firmware/remote.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pressure_control/firmware/remote.h b/pressure_control/firmware/remote.h
index 9aabfe9..7c8d77c 100644
--- a/pressure_control/firmware/remote.h
+++ b/pressure_control/firmware/remote.h
@@ -71,8 +71,12 @@ struct remote_message {
} __attribute__((packed));
+void print_sram(const char *msg);
void print_pgm(const prog_char *msg);
#define print(string_literal) print_pgm(PSTR(string_literal))
+void print_dec(uint16_t number);
+void print_dec_signed(int16_t number);
+void print_hex(uint8_t number);
void remote_pressure_change_notification(uint16_t mbar,
uint16_t hysteresis);
bues.ch cgit interface