Ensure IR LEDs are off before reprogramming. (#7)
Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #7
This commit is contained in:
parent
8fe8822db0
commit
fd908a23d4
4 changed files with 21 additions and 3 deletions
|
|
@ -11,4 +11,5 @@ idf_component_register(
|
|||
"esp_https_ota"
|
||||
"app_update"
|
||||
"NVM"
|
||||
"IR"
|
||||
)
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue