Log Touchpanel data (position + gesture!)
This commit is contained in:
parent
e65c9fa181
commit
52539a5ff1
4 changed files with 58 additions and 22 deletions
|
|
@ -48,11 +48,7 @@ void DisplayApp::Process(void *instance) {
|
|||
while (1) {
|
||||
|
||||
app->Refresh();
|
||||
|
||||
auto before = nrf_rtc_counter_get(portNRF_RTC_REG);
|
||||
lv_task_handler();
|
||||
auto after = nrf_rtc_counter_get(portNRF_RTC_REG);
|
||||
NRF_LOG_INFO("duration : %d", (after-before));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -77,10 +73,10 @@ void DisplayApp::Refresh() {
|
|||
break;
|
||||
case States::Running:
|
||||
RunningState();
|
||||
queueTimeout = 1;
|
||||
queueTimeout = 1000;
|
||||
break;
|
||||
}
|
||||
/*
|
||||
|
||||
Messages msg;
|
||||
if (xQueueReceive(msgQueue, &msg, queueTimeout)) {
|
||||
switch (msg) {
|
||||
|
|
@ -119,7 +115,6 @@ void DisplayApp::Refresh() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
bool first = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue