From a0e8c00c1780ca4eec9aeb658cc4b3bd0d6d1c42 Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 29 May 2022 22:31:59 +0200 Subject: [PATCH] stash --- firmware/lux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);