period is not used, changing usDelay = usDelay * period; seems to cause a delay that is way too long... Little strange. Maybe change TickType_t usDelay = pdMS_TO_TICKS(100); to TickType_t usDelay = pdMS_TO_TICKS(period); ???
period is not used, changing
usDelay = usDelay * period;
seems to cause a delay that is way too long...
Little strange.
Maybe change TickType_t usDelay = pdMS_TO_TICKS(100); to TickType_t usDelay = pdMS_TO_TICKS(period); ???