Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tune len back to 128 #143

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Inc/eeprom.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ typedef union EEprom_u {
uint8_t sine_mode_power; // 45
uint8_t input_type; // 46
uint8_t auto_advance; // 47
uint8_t reserved_2[4]; //48-51
uint8_t tune[124]; // 52-175
uint8_t tune[128]; // 48-175
struct {
uint8_t can_node; // 176
uint8_t esc_index; // 177
Expand Down
3 changes: 2 additions & 1 deletion Src/sounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ void playBlueJayTune()
uint16_t frequency;
comStep(3);
// read_flash_bin(blueJayTuneBuffer , eeprom_address + 48 , 128);
for (int i = 0; i < 124; i += 2) {
// first 4 bytes are reserved for rtttl duration, octave, beat, tempo
for (int i = 4; i < 128; i += 2) {
RELOAD_WATCHDOG_COUNTER();
signaltimeout = 0;

Expand Down
Loading