First of all, thank you for your amazing work!
The issue:
When I try to use the qapi_Timer_Sleep function from the qapi_timer.h, the module never comes back if I use other time units than QAPI_TIMER_UNIT_TICK.
Here is my code (That does not work unless I use the QAPI_TIMER_UNIT_TICK):
#include "qapi.h"
#include "qapi_timer.h"
#include "app_uart.h"
int dam_app_start(void)
{
uart_dbg_init(); /* Uart setup. */
qapi_Timer_Sleep(1, QAPI_TIMER_UNIT_USEC, true);
UART_DBG("Module running\n\r");
return 0;
}
First of all, thank you for your amazing work!
The issue:
When I try to use the qapi_Timer_Sleep function from the qapi_timer.h, the module never comes back if I use other time units than QAPI_TIMER_UNIT_TICK.
Here is my code (That does not work unless I use the QAPI_TIMER_UNIT_TICK):