Skip to content

Commit

Permalink
ADC_ATTEN_DB_12 is only defined in some versions? #198 (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmittyHalibut authored Jan 28, 2025
1 parent 880d079 commit 928ad20
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ int fadeDirection = 0; // 0: no fade, 1: fade in, -1: fade out
int attenuation = ATTENUATION_MAX; // Full volume
bool lastSquelched = false;

// 11dB vs 12dB is a ...version thing?
#ifndef ADC_ATTEN_DB_12
#define ADC_ATTEN_DB_12 ADC_ATTEN_DB_11
#endif

////////////////////////////////////////////////////////////////////////////////
/// Forward Declarations
Expand Down

0 comments on commit 928ad20

Please sign in to comment.