first cut at turnon scripts for EasyTimer v2
[fw/altos] / src / kernel / ao_log_telescience.c
index 002a10bd9fd8dab64f5f407b60cf76787140ae04..a21af71d093f1f55a8b3aa8501dc7b09d4bd1c40 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
 
 static uint8_t ao_log_data_pos;
 
-__code uint8_t ao_log_format = AO_LOG_FORMAT_TELESCIENCE;
+const uint8_t ao_log_format = AO_LOG_FORMAT_TELESCIENCE;
 
 static void
-ao_log_telescience_csum(void) __reentrant
+ao_log_telescience_csum(void) 
 {
-       __xdata uint8_t *b = ao_log_single_write_data.bytes;
+       uint8_t *b = ao_log_single_write_data.bytes;
        uint8_t sum = 0x5a;
        uint8_t i;