fix compile error

This commit is contained in:
Wang_Weigen 2022-11-15 14:09:03 +08:00
parent d89e018d33
commit 14f0e442ad
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ struct Touch_event {
};
#define DEFAULT_NUM 0x0D
#define TOUCH_ADDRESS 0x44
volatile bool SemReleaseFlag = 0;
static struct Bus* i2c_bus = NONE;
@ -77,7 +77,7 @@ static x_err_t ReadRegs(struct HardwareDev* dev, uint8 len, uint8* buf)
// not used in polling mode
static void touch_pin_irqhandler(void* arg)
{
KPrintf("int hdr working.\n");
// KPrintf("int hdr working.\n");
if (!SemReleaseFlag)
{
KSemaphoreAbandon(touch_sem);