Update application.cpp

MrDham-issue30 V2.7.1
MrDham 3 years ago committed by GitHub
parent f2ec6b9235
commit d6107e3489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Open_Theremin_V3/application.cpp

@ -813,9 +813,12 @@ void Application::calculate_note_bend ()
void Application::init_parameters ()
{
// init data pot value to avoid 1st position to be taken into account
param_pot_value = analogRead(REGISTER_SELECT_POT);
old_param_pot_value = param_pot_value;
data_pot_value = analogRead(WAVE_SELECT_POT);
old_data_pot_value = data_pot_value;
}
void Application::set_parameters ()

Loading…
Cancel
Save