avoid compile warning
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user