altos: Remove spurious ao_mma655x_spi_index variable
[fw/altos] / src / kernel / ao_log_tiny.c
index 67767dc9ce285c88aeaa0510889be3aa906e8557..0b8e39d6aa4d74dc9cad9d6861ac1a8972b062e3 100644 (file)
@@ -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
- * 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
@@ -28,8 +29,6 @@ static __data uint16_t        ao_log_tiny_interval;
 #define AO_PAD_RING    2
 #endif
 
-__code uint8_t ao_log_format = AO_LOG_FORMAT_TINY;
-
 void
 ao_log_tiny_set_interval(uint16_t ticks)
 {
@@ -148,7 +147,7 @@ ao_log(void)
        }
 }
 
-uint16_t
+int16_t
 ao_log_flight(uint8_t slot)
 {
        static __xdata uint16_t flight;