diff --git a/firmware/lux.cpp b/firmware/lux.cpp index 4ccd1fd..1d9a0a6 100644 --- a/firmware/lux.cpp +++ b/firmware/lux.cpp @@ -34,7 +34,7 @@ extern "C" void lux_task(void *pvParameters) { while(1) { spi_transfer_8(1, cnt++); - vTaskDelay(1); + for(volatile int i = 0; i < 1000000; i++); spi_transfer_8(1, 0x00); vTaskDelay(1000/portTICK_PERIOD_MS);