Skip to content

Commit

Permalink
fix irq
Browse files Browse the repository at this point in the history
  • Loading branch information
gemu2015 committed Jan 14, 2024
1 parent d52a1c6 commit 332fb7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/lib_display/UDisplay/uDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1852,9 +1852,9 @@ for(y=h; y>0; y--) {

#ifdef USE_UNIVERSAL_TOUCH

uint8_t ut_irq_flg;


static void USE_IRAM_ATTR ut_touch_irq() {
void IRAM_ATTR ut_touch_irq(void) {
ut_irq_flg = 1;
}

Expand Down
1 change: 0 additions & 1 deletion lib/lib_display/UDisplay/uDisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ class uDisplay : public Renderer {
uint8_t ut_i2caddr;
int8_t ut_reset;
int8_t ut_irq;
unt8_t ut_irq_flg;
char ut_name[8];
uint8_t ut_init_code[32];
uint8_t ut_touch_code[16];
Expand Down

0 comments on commit 332fb7a

Please sign in to comment.