diff options
Diffstat (limited to 'src/stm/ao_lcd_stm.c')
| -rw-r--r-- | src/stm/ao_lcd_stm.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/ao_lcd_stm.c b/src/stm/ao_lcd_stm.c index 0f9a8eb5..4f2a2242 100644 --- a/src/stm/ao_lcd_stm.c +++ b/src/stm/ao_lcd_stm.c @@ -253,12 +253,12 @@ ao_lcd_stm_fcr_sync(void)  void  ao_lcd_flush(void)  { -	cli(); +	ao_arch_block_interrupts();  	ao_lcd_update_active = 1;  	stm_lcd.sr = (1 << STM_LCD_SR_UDR);  	while (ao_lcd_update_active)  		ao_sleep(&ao_lcd_update_active); -	sei(); +	ao_arch_release_interrupts();  }  void  | 
