419 int State = State_Init; |
419 int State = State_Init; |
420 int OldState = State_Init + 1; |
420 int OldState = State_Init + 1; |
421 uint8_t ds_time = DS_Time; |
421 uint8_t ds_time = DS_Time; |
422 |
422 |
423 |
423 |
424 while (0) { |
424 while (1) { |
425 request_bmp280(); |
425 // request_bmp280(); |
426 request_ina219(); |
426 // request_ina219(); |
427 request_apds9930(); |
427 // request_apds9930(); |
428 vTaskDelay(5000 / portTICK_PERIOD_MS); |
428 vTaskDelay(5000 / portTICK_PERIOD_MS); |
429 } |
429 } |
430 |
430 |
431 while (1) { |
431 while (1) { |
432 if (OldState != State) { |
432 if (OldState != State) { |