aboutsummaryrefslogtreecommitdiff
path: root/c/echo.h
diff options
context:
space:
mode:
authorJavier Degirolmo2012-08-27 07:58:24 -0300
committerJavier Degirolmo2012-08-27 07:58:24 -0300
commit6266e3e5577bc7c11d300a873c150b6a7900376a (patch)
tree82b14ee437f6f802cd5cd896dd66c58c29ea7ec0 /c/echo.h
parent2f83b4822b5825d58ab4a74e4e9e5f0be2cc78f2 (diff)
Fuck it, we're doing it live
Diffstat (limited to 'c/echo.h')
-rw-r--r--c/echo.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/c/echo.h b/c/echo.h
index 5c737fb..8484c59 100644
--- a/c/echo.h
+++ b/c/echo.h
@@ -1,6 +1,9 @@
#ifndef ECHO_H
#define ECHO_H
+/* Required headers */
+#include <stdint.h>
+
/* Echo commands */
enum {
ECHO_CMD_NONE, /* 0x00 - No command */
@@ -24,8 +27,8 @@ void echo_stop_bgm(void);
void echo_resume_bgm(void);
void echo_play_sfx(const void *);
void echo_stop_sfx(void);
-unsigned short echo_get_status(void);
-void echo_send_command(unsigned char);
-void echo_send_command_ex(unsigned char, const void *);
+uint16_t echo_get_status(void);
+void echo_send_command(uint8_t);
+void echo_send_command_ex(uint8_t, const void *);
#endif