I'm using the Arduino framework, so have the usual setup() and loop().
setup() contains a Board.init call.
Say that Board.setSupplyMaintainVoltage(6000); has been called, and subsequently the board is reset, causing Board.init() to run again, then the SupplyMaintainVoltage is not reset to 4600 as specified in the docs.
The same occurs with Board.setBatteryChargingMaxCurrent(250);
init() does not set the BatteryChargingMaxCurrent back to 50 mA.
Is this intentional?