projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Add EasyMotor logging support
[fw/altos]
/
ao-tools
/
ao-sky-flash
/
sky_flash.h
diff --git
a/ao-tools/ao-sky-flash/sky_flash.h
b/ao-tools/ao-sky-flash/sky_flash.h
index 77f4c742c34d3d11cdef4cd13bc93e8bdefd9415..1a8dfb9e48330bd5312ab58ec3052d0fbd0960b1 100644
(file)
--- a/
ao-tools/ao-sky-flash/sky_flash.h
+++ b/
ao-tools/ao-sky-flash/sky_flash.h
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-30,7
+31,7
@@
int
skytraq_setcomm(int fd, int baudrate);
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);
int
skytraq_waitchar(int fd, int timeout);
@@
-41,6
+42,12
@@
skytraq_waitstatus(int fd, const char *status, int timeout);
void
skytraq_flush(int fd);
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
skytraq_cmd_wait(int fd, const char *message, int len, const char *status, int timeout);