altos/telelco-v2.0: Fix button names and pin mappings. Add drag LED.
[fw/altos] / src / lambdakey-v1.0 / ao_scheme_os.h
index 5641b476c79f537197bd682eef76178e57f30e05..8af199c2042d0ec0bd923d4d70791de906523cea 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "ao.h"
 
-#define AO_SCHEME_POOL         3584
+#define AO_SCHEME_POOL         3792
 #define AO_SCHEME_TOKEN_MAX    64
 
 #ifndef __BYTE_ORDER
@@ -30,7 +30,7 @@
 #endif
 
 static inline int
-ao_scheme_getc() {
+_ao_scheme_getc() {
        static uint8_t  at_eol;
        int c;
 
@@ -44,11 +44,7 @@ ao_scheme_getc() {
        return c;
 }
 
-static inline void
-ao_scheme_os_flush(void)
-{
-       flush();
-}
+#define ao_scheme_getc(f) ({ (void) (f); _ao_scheme_getc(); })
 
 static inline void
 ao_scheme_abort(void)