Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
risgk committed Apr 21, 2024
1 parent 3d52c83 commit 6ecad06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Digital-Synth-PRA32-U/pra32-u-control-panel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ static volatile uint8_t s_adc_control_value[3];
static volatile uint8_t s_adc_control_target[3] = { 0xFF, 0xFF, 0xFF };
static volatile boolean s_adc_control_catched[3];

#if defined(PRA32_U_USE_CONTROL_PANEL)
static uint32_t s_prev_key_current_value;
static uint32_t s_next_key_current_value;
#endif // defined(PRA32_U_USE_CONTROL_PANEL)
static uint32_t s_play_key_current_value;

static volatile uint8_t s_panel_play_note_number = 60;
Expand All @@ -43,7 +45,6 @@ static char s_display_buffer[8][21 + 1] = {
};



static INLINE void PRA32_U_ControlPanel_update_page() {
PRA32_U_ControlPanelPage& current_page = g_control_panel_page_table[s_current_page_index];

Expand Down Expand Up @@ -885,6 +886,8 @@ INLINE void PRA32_U_ControlPanel_update_display(uint32_t loop_counter) {

void PRA32_U_ControlPanel_on_control_change(uint8_t control_number)
{
static_cast<void>(control_number);

#if defined(PRA32_U_USE_CONTROL_PANEL)
if (s_adc_control_target[0] == control_number) {
s_adc_control_catched[0] = false;
Expand Down

0 comments on commit 6ecad06

Please sign in to comment.