diff options
| -rw-r--r-- | ao_dbg.c | 6 | ||||
| -rw-r--r-- | ao_ee.c | 6 | ||||
| -rw-r--r-- | ao_report.c | 2 | ||||
| -rw-r--r-- | ao_timer.c | 2 | 
4 files changed, 8 insertions, 8 deletions
| @@ -106,7 +106,7 @@ __xdata uint8_t save_dpl1;  __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); @@ -114,7 +114,7 @@ ao_dbg_inst1(uint8_t 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); @@ -123,7 +123,7 @@ ao_dbg_inst2(uint8_t a, uint8_t b)  }  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); @@ -170,9 +170,9 @@ ao_ee_wrsr(uint8_t status)  #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 diff --git a/ao_report.c b/ao_report.c index 2c4554b5..cee2bf3a 100644 --- a/ao_report.c +++ b/ao_report.c @@ -82,5 +82,5 @@ static __xdata struct ao_task ao_report_task;  void  ao_report_init(void)  { -	ao_add_task(&ao_report_task, ao_report); +	ao_add_task(&ao_report_task, ao_report, "report");  } @@ -21,7 +21,7 @@ static volatile __data uint16_t ao_tick_count;  uint16_t ao_time(void)  { -	__data uint16_t ret; +	uint16_t ret;  	__critical {  		ret = ao_tick_count;  	} | 
