Skip to content

Commit

Permalink
Fixed some compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bkshepherd committed Dec 27, 2024
1 parent a0a2691 commit 2d1d0ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Software/GuitarPedal/Effect-Modules/reverb_delay_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ ReverbDelayModule::ReverbDelayModule()
m_delaySpreadMax(2400.0f),
// m_delayPPMin(1200.0f),
// m_delayPPMax(96000.0f),
m_pdelRight_out(0.0), m_modOscFreqMin(0.0), m_modOscFreqMax(3.0), m_currentMod(1.0), m_LEDValue(1.0f) {
m_pdelRight_out(0.0), m_currentMod(1.0), m_modOscFreqMin(0.0), m_modOscFreqMax(3.0), m_LEDValue(1.0f) {
// Set the name of the effect
m_name = "Verb Delay";

Expand Down Expand Up @@ -290,7 +290,7 @@ void ReverbDelayModule::ParameterChanged(int parameter_id) {
delayLeft.secondTapOn = false;
delayRight.secondTapOn = false;
}
} else if (parameter_id = 10) {
} else if (parameter_id == 10) {
delayLeft.toneOctLP.SetFreq(m_delaylpFreqMin + (m_delaylpFreqMax - m_delaylpFreqMin) * GetParameterAsMagnitude(10));
delayRight.toneOctLP.SetFreq(m_delaylpFreqMin + (m_delaylpFreqMax - m_delaylpFreqMin) * GetParameterAsMagnitude(10));
}
Expand Down
9 changes: 0 additions & 9 deletions Software/GuitarPedal/Effect-Modules/scope_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,10 @@

using namespace bkshepherd;

static const int s_paramCount = 0;
static const ParameterMetaData s_metaData[s_paramCount] = {};

// Default Constructor
ScopeModule::ScopeModule() : BaseEffectModule() {
// Set the name of the effect
m_name = "Scope";

// Setup the meta data reference for this Effect
m_paramMetaData = s_metaData;

// Initialize Parameters for this Effect
this->InitParams(s_paramCount);
}

// Destructor
Expand Down

0 comments on commit 2d1d0ba

Please sign in to comment.