__xdata uint8_t save_dph1;
static uint8_t
-ao_dbg_inst1(uint8_t a)
+ao_dbg_inst1(uint8_t a) __reentrant
{
ao_dbg_send_byte(DEBUG_INSTR(1));
ao_dbg_send_byte(a);
}
static uint8_t
-ao_dbg_inst2(uint8_t a, uint8_t b)
+ao_dbg_inst2(uint8_t a, uint8_t b) __reentrant
{
ao_dbg_send_byte(DEBUG_INSTR(2));
ao_dbg_send_byte(a);
}
static uint8_t
-ao_dbg_inst3(uint8_t a, uint8_t b, uint8_t c)
+ao_dbg_inst3(uint8_t a, uint8_t b, uint8_t c) __reentrant
{
ao_dbg_send_byte(DEBUG_INSTR(3));
ao_dbg_send_byte(a);
#define EE_BLOCK_NONE 0xffff
-__xdata uint8_t ao_ee_data[EE_BLOCK];
-__data uint16_t ao_ee_block = EE_BLOCK_NONE;
-__data uint8_t ao_ee_block_dirty;
+static __xdata uint8_t ao_ee_data[EE_BLOCK];
+static __pdata uint16_t ao_ee_block = EE_BLOCK_NONE;
+static __pdata uint8_t ao_ee_block_dirty;
/* Write the current block to the EEPROM */
static void
void
ao_report_init(void)
{
- ao_add_task(&ao_report_task, ao_report);
+ ao_add_task(&ao_report_task, ao_report, "report");
}