Sound on sync

This commit is contained in:
DashyFox 2024-10-09 15:10:36 +03:00
parent 4506f53d95
commit c667854e7e

View File

@ -10,6 +10,7 @@
#include "RobotFunctions.h" #include "RobotFunctions.h"
#include "EEPROM.h" #include "EEPROM.h"
#include "Indicator.h" #include "Indicator.h"
#include "SoundMelody.h"
#define HIGHBIT(b) (((b)>>8)&0xff) #define HIGHBIT(b) (((b)>>8)&0xff)
#define LOWBIT(b) ((b)&0xff) #define LOWBIT(b) ((b)&0xff)
@ -44,6 +45,7 @@ static void onLedIdle(){
HAL_Delay(25); HAL_Delay(25);
led_clear(); led_clear();
resetOnSave(); resetOnSave();
melody(melody_start);
} }
static void onSaveCallback(){ static void onSaveCallback(){
if(isSyncFirstSave){ if(isSyncFirstSave){