altos: Remove spurious ao_mma655x_spi_index variable
[fw/altos] / src / kernel / ao_log_micro.c
index aef78def446d7fe09f7fb13ee4407629d0ddd249..d6f9c5a84e85c480549fef6621793796819e2dc9 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
 #include <ao.h>
 #include <ao_micropeak.h>
 #include <ao_log_micro.h>
+#ifndef ao_async_byte
 #include <ao_async.h>
+#else
+#include <ao_serial.h>
+#endif
+#include <ao_storage.h>
 
 static uint16_t ao_log_offset = STARTING_LOG_OFFSET;