Skip to content

Commit

Permalink
So much clang!
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Nov 6, 2024
1 parent a2ea1fd commit 480037b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/Bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,13 @@ void Bluetooth_Init(void) {
.bck_io_num = I2S_BCLK,
.ws_io_num = I2S_LRC,
.data_out_num = I2S_DOUT,
.data_in_num = I2S_PIN_NO_CHANGE
};
.data_in_num = I2S_PIN_NO_CHANGE};
a2dp_sink->set_pin_config(pin_config);
a2dp_sink->set_rssi_callback(rssi);
#endif
a2dp_sink->activate_pin_code(false);
if (gPrefsSettings.getBool("playMono", false)) {
a2dp_sink->set_mono_downmix(true);
a2dp_sink->set_mono_downmix(true);
}
a2dp_sink->set_auto_reconnect(true);
a2dp_sink->set_rssi_active(true);
Expand Down
2 changes: 1 addition & 1 deletion src/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ void System_PreparePowerDown(void) {
Led_Exit();

if (gPrefsSettings.getBool("recoverVolBoot", false)) {
gPrefsSettings.putUInt("previousVolume", AudioPlayer_GetCurrentVolume());
gPrefsSettings.putUInt("previousVolume", AudioPlayer_GetCurrentVolume());
}
SdCard_Exit();

Expand Down

0 comments on commit 480037b

Please sign in to comment.