avoid compile warning

This commit is contained in:
olliw42
2021-07-10 07:06:57 +02:00
committed by Raphael Coeffic
parent e75bd64d54
commit 2eef807fba
+2
View File
@@ -686,6 +686,7 @@ bool touchPanelInit(void)
} }
} }
#if defined(SIMU) || defined(SEMIHOSTING) || defined(DEBUG)
static const char* event2str(uint8_t ev) static const char* event2str(uint8_t ev)
{ {
switch(ev){ switch(ev){
@@ -703,6 +704,7 @@ static const char* event2str(uint8_t ev)
return "UNKNOWN"; return "UNKNOWN";
} }
} }
#endif
void touchPanelRead() void touchPanelRead()
{ {