mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-05-04 15:20:16 +00:00
Sound on sync
This commit is contained in:
parent
4506f53d95
commit
c667854e7e
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user