diff --git a/usermods/audioreactive/audio_source.h b/usermods/audioreactive/audio_source.h index afc9d8ed..8ad57ba3 100644 --- a/usermods/audioreactive/audio_source.h +++ b/usermods/audioreactive/audio_source.h @@ -254,8 +254,9 @@ class I2SSource : public AudioSource { if (_i2sMaster == false) { DEBUG_PRINTLN(F("AR: Warning - i2S SLAVE mode is experimental!")); - if ((_config.mode & I2S_MODE_MASTER) != 0) + if ((_config.mode & I2S_MODE_MASTER) != 0) { DEBUG_PRINTLN("AR: (oops) I2S SLAVE mode requested but not configured!"); + } } // Reserve the master clock pin if provided @@ -289,12 +290,14 @@ class I2SSource : public AudioSource { DEBUGSR_PRINTF("AR: I2S#0 driver %s aPLL; fixed_mclk=%d.\n", _config.use_apll? "uses":"without", _config.fixed_mclk); DEBUGSR_PRINTF("AR: %d bits, Sample scaling factor = %6.4f\n", _config.bits_per_sample, _sampleScale); if(_config.mode & I2S_MODE_MASTER) { - if (_config.mode & I2S_MODE_PDM) + if (_config.mode & I2S_MODE_PDM) { DEBUGSR_PRINTLN(F("AR: I2S#0 driver installed in PDM MASTER mode.")); - else + } else { DEBUGSR_PRINTLN(F("AR: I2S#0 driver installed in MASTER mode.")); - } else + } + } else { DEBUGSR_PRINTLN(F("AR: I2S#0 driver installed in SLAVE mode.")); + } err = i2s_set_pin(I2S_NUM_0, &_pinConfig); if (err != ESP_OK) { diff --git a/usermods/customeffects/arti.h b/usermods/customeffects/arti.h index 5345e55b..4822ee63 100644 --- a/usermods/customeffects/arti.h +++ b/usermods/customeffects/arti.h @@ -1496,11 +1496,12 @@ public: Symbol* var_symbol = current_scope->lookup(variable_name); //lookup here and parent scopes if (node == F_VarRef) { - if (var_symbol == nullptr) + if (var_symbol == nullptr) { WARNING_ARTI("%s VarRef %s ID not found in scope of %s\n", spaces+50-depth, variable_name, current_scope->scope_name); //only warning: value 0 in interpreter (div 0 is captured) - else + } else { ANDBG_ARTI("%s VarRef found %s.%s (%u)\n", spaces+50-depth, var_symbol->scope->scope_name, variable_name, depth); + } } else //assign and var/formal { @@ -2007,8 +2008,9 @@ public: // valueStack->push(callResult); } //function_symbol != nullptr - else + else { RUNLOG_ARTI("%s %s not found %s\n", spaces+50-depth, key, function_name); + } } //external functions visitedAlready = true; @@ -2276,8 +2278,9 @@ public: valueStack->push(-valueStack->floatStack[oldIndex + 1]); RUNLOG_ARTI("%s unary - %f (push %u)\n", spaces+50-depth, valueStack->floatStack[oldIndex + 1], valueStack->stack_index ); } - else + else { RUNLOG_ARTI("%s unary operator not supported %u %s\n", spaces+50-depth, operatorx, tokenToString(operatorx)); + } } visitedAlready = true;