Usermods: add removeOptions e.g. for pin MCLK

- add replaceOption to analogmic
- fix: right default for audio reactive scl
- pinmanager add case UM_Battery
This commit is contained in:
Ewoud
2023-01-02 21:42:19 +01:00
parent 49b8bf389d
commit 86ceca5de7
4 changed files with 219 additions and 202 deletions

View File

@@ -59,6 +59,7 @@ String PinManagerClass::getOwnerText(PinOwner tag) {
case PinOwner::UM_BH1750 : return(F("BH1750 (UM)")); break; // "usermod_bh1750.h" -- Uses "standard" HW_I2C pins
case PinOwner::UM_SdCard : return(F("SD-Card (UM)")); break; // "usermod_sd_card.h" -- Uses SPI pins
case PinOwner::UM_PWM_OUTPUTS : return(F("PWM Output (UM)")); break; // "usermod_pwm_outputs.h"
case PinOwner::UM_Battery : return(F("Battery (UM)")); break; // "usermod_battery.h"
case PinOwner::UM_Example : return(F("example (UM)")); break; // unspecified usermod
case PinOwner::UM_Unspecified : return(F("usermod (UM)")); break; // unspecified usermod