Adacallback support fromISR call

- change Prioprity for loop() to LOW
- defer interrupt for both hw and sw encoder to ada callback
This commit is contained in:
hathach committed 2017-09-15 17:56:24 +07:00
1 parent 9b71709c13
commit b2e49f2fc9
8 files changed
+26 -12

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ int main( void )
// Create a task for loop()
TaskHandle_t _loopHandle;
xTaskCreate( loop_task, "loop", _loopStacksize, NULL, TASK_PRIO_NORMAL, &_loopHandle);
xTaskCreate( loop_task, "loop", _loopStacksize, NULL, TASK_PRIO_LOW, &_loopHandle);
// Initialize callback task
ada_callback_init();