Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
corrados committed Oct 26, 2023
1 parent 621f3a5 commit e54f927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edrumulus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Edrumulus::Edrumulus()
error_LED_blink_time = round ( error_LED_blink_time_s * Fs );
dc_offset_est_len = round ( dc_offset_est_len_s * Fs );
samplerate_max_cnt = round ( samplerate_max_cnt_len_s * Fs );
dc_offset_min_limit = round(ADC_MAX_RANGE / 2 - ADC_MAX_RANGE * dc_offset_max_rel_error);
dc_offset_max_limit = round(ADC_MAX_RANGE / 2 + ADC_MAX_RANGE * dc_offset_max_rel_error);
dc_offset_min_limit = round ( ADC_MAX_RANGE / 2 - ADC_MAX_RANGE * dc_offset_max_rel_error );
dc_offset_max_limit = round ( ADC_MAX_RANGE / 2 + ADC_MAX_RANGE * dc_offset_max_rel_error );
overload_LED_cnt = 0;
error_LED_cnt = 0;
status_is_overload = false;
Expand Down

0 comments on commit e54f927

Please sign in to comment.