Stubbed Get Parameter Block command
This commit is contained in:
@@ -147,6 +147,13 @@ microtouch_process_commands(mouse_microtouch_t *mtouch)
|
|||||||
fifo8_push_all(&mtouch->resp, (uint8_t *) "0\r", 2);
|
fifo8_push_all(&mtouch->resp, (uint8_t *) "0\r", 2);
|
||||||
mtouch->cal_cntr = 2;
|
mtouch->cal_cntr = 2;
|
||||||
}
|
}
|
||||||
|
if (mtouch->cmd[0] == 'G' && mtouch->cmd[1] == 'P' && mtouch->cmd[2] == '1') {
|
||||||
|
fifo8_push(&mtouch->resp, 1);
|
||||||
|
fifo8_push_all(&mtouch->resp, (uint8_t *) "A\r", 2);
|
||||||
|
fifo8_push_all(&mtouch->resp, (uint8_t *) "0\r", 2);
|
||||||
|
fifo8_push(&mtouch->resp, 1);
|
||||||
|
fifo8_push_all(&mtouch->resp, (uint8_t *) "0\r", 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user