Skip to content

Commit

Permalink
Merge pull request PaulStoffregen#389 from FrankBoesing/warning-doubl…
Browse files Browse the repository at this point in the history
…e-promotion

Warning double promotion (sry two typos!!!)
  • Loading branch information
PaulStoffregen authored Feb 24, 2021
2 parents 125a129 + f292389 commit 84c84b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control_sgtl5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class AudioControlSGTL5000 : public AudioControl
AudioControlSGTL5000(void) : i2c_addr(0x0A) { }
void setAddress(uint8_t level);
bool enable(void);//For Teensy LC the SGTL acts as master, for all other Teensys as slave.
bool enable(const unsigned extMCLK, const uint32_t pllFreq = (4096.0lf * AUDIO_SAMPLE_RATE_EXACT) ); //With extMCLK > 0, the SGTL acts as Master
bool enable(const unsigned extMCLK, const uint32_t pllFreq = (4096.0l * AUDIO_SAMPLE_RATE_EXACT) ); //With extMCLK > 0, the SGTL acts as Master
bool disable(void) { return false; }
bool volume(float n) { return volumeInteger(n * 129 + 0.499f); }
bool inputLevel(float n) {return false;}
Expand Down
2 changes: 1 addition & 1 deletion synth_pwm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
f/* Audio Library for Teensy 3.X
/* Audio Library for Teensy 3.X
* Copyright (c) 2017, Paul Stoffregen, [email protected]
*
* Development of this audio library was funded by PJRC.COM, LLC by sales of
Expand Down

0 comments on commit 84c84b4

Please sign in to comment.