put two flags into bit addressable ram

This commit is contained in:
Mirko Scholz
2020-09-04 22:55:16 +02:00
parent fb76fac249
commit a8cf1a881b
4 changed files with 5 additions and 3 deletions

View File

@ -49,7 +49,7 @@ QSemaphore LcdAvailable(1);
int8_t NewKeyBuf[4];
volatile uint8_t new_key_write_i;
volatile uint8_t new_key_read_i;
volatile uint8_t NewKeyEmpty;
volatile __bit NewKeyEmpty;
#define INCR_NEW_KEY_I(i) i = (i + 1) & 3