diff options
author | Keith Packard <keithp@keithp.com> | 2019-01-03 11:41:49 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-01-03 12:09:58 -0800 |
commit | 6f729ff46b2f4531db68f0af85e7e9fe0f6d1969 (patch) | |
tree | d0a93a48bd3012decbb230f5aa17ecc6c793cad2 /ao-tools/ao-sky-flash/sky_flash.h | |
parent | f14c799ae7ff3be56c28f5694f04c03daff7708e (diff) |
ao-tools: Fix warnings in ao-tools
None of these appear likely to have caused actual problems.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-sky-flash/sky_flash.h')
-rw-r--r-- | ao-tools/ao-sky-flash/sky_flash.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ao-tools/ao-sky-flash/sky_flash.h b/ao-tools/ao-sky-flash/sky_flash.h index 6dcbbf72..1a8dfb9e 100644 --- a/ao-tools/ao-sky-flash/sky_flash.h +++ b/ao-tools/ao-sky-flash/sky_flash.h @@ -31,7 +31,7 @@ int skytraq_setcomm(int fd, int baudrate); int -skytraq_write(int fd, const char *data, int len); +skytraq_write(int fd, const void *data, int len); int skytraq_waitchar(int fd, int timeout); @@ -43,6 +43,12 @@ void skytraq_flush(int fd); int +skytraq_millis(void); + +void +skytraq_dbg_newline(void); + +int skytraq_cmd_wait(int fd, const char *message, int len, const char *status, int timeout); int |