Skip to content

Commit

Permalink
Set to 50% volume on startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Nov 13, 2024
1 parent 81904da commit 56e466c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ enum

static uint32_t blink_interval_ms = BLINK_NOT_MOUNTED;

int system_volume = 255;
int system_volume = 128;
int volume_speed = 10;

uint8_t led_red = 0;
Expand Down Expand Up @@ -179,7 +179,6 @@ void serial_task(void) {
}

if(cdc_get_bytes(command_buffer, COMMAND_LEN) != COMMAND_LEN) {
//display::info("cto");
return;
}

Expand All @@ -205,7 +204,8 @@ void serial_task(void) {
/*------------- MAIN -------------*/
int main(void)
{

volume[0] = volume[1] = system_volume * 100;
mute[0] = mute[1] = false;
system_init();

board_init();
Expand Down

0 comments on commit 56e466c

Please sign in to comment.