Ignore:
Timestamp:
Jan 12, 2026, 8:53:38 AM (4 days ago)
Author:
f.jahn
Message:

Fuse death after reset command was fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ecs_cellMon/firmware/Core/Src/main.c

    r13 r14  
    220220      {
    221221        //printf("CMD = %d\n", sys_data.s.parameter.command);
    222         switch (sysData.s.command )
     222        switch (sysData.s.command)
    223223        {
    224224          case CMD_SAVE_PARAMETER_TO_EEPROM:
     
    236236          case CMD_RESET:
    237237            printf("EXEC: RESTART\n");
     238                        HAL_DAC_SetValue(&hdac1, DAC_CHANNEL_1, DAC_ALIGN_12B_R, 0);
     239                        HAL_Delay(10);
    238240            NVIC_SystemReset();
    239241            break;
     
    260262          default:
    261263            printf("UNKNOWN COMMAND\n");
    262          
    263264        }
    264265        sysData.s.command = 0;
Note: See TracChangeset for help on using the changeset viewer.