Ensure IR LEDs are off before reprogramming. (#7)

Co-authored-by: Joe Kearney <joe@clubk.club>
Reviewed-on: #7
This commit is contained in:
Joe Kearney 2025-09-20 20:55:45 +00:00
parent 8fe8822db0
commit fd908a23d4
4 changed files with 21 additions and 3 deletions

View file

@ -11,4 +11,5 @@ idf_component_register(
"esp_https_ota"
"app_update"
"NVM"
"IR"
)

View file

@ -25,6 +25,7 @@
#include <dirent.h>
#include <errno.h>
#include <NVM.h>
#include <IR.h>
#include "esp_log.h"
#include "esp_ota_ops.h"
#include "esp_spiffs.h"
@ -264,6 +265,8 @@ SystemKResult_T Maybe_Reprogram_From_USB(void)
static void Reprogramming_Task(void *pvParameters)
{
Disable_IR_Transmit();
SystemKResult_T result = Maybe_Reprogram_From_USB();
static All_On_Data_T data;