Library for Modtronix NZ32 STM32 boards, like the NZ32-SC151, NZ32-SB072, NZ32-SE411 and others
Diff: nz32s.cpp
- Revision:
- 17:86034c970ea0
- Parent:
- 15:3fd3c1ce01be
--- a/nz32s.cpp Sat Aug 13 12:57:48 2016 +1000 +++ b/nz32s.cpp Fri Aug 19 15:50:48 2016 +1000 @@ -47,7 +47,7 @@ #else IWDG_HandleTypeDef NZ32S::hiwdg; //Independent Watchdog Timer, is NOT stopped during low power mode! #endif -#if (DONT_USE_A13_A14 == 0) +#if (NZ32S_USE_A13_A14 == 1) DigitalInOut NZ32S::enableFastCharge(PA_14, PIN_INPUT, PullNone, 0); #endif @@ -70,7 +70,7 @@ //uint16_t getBattMV(void) { // float fval = 0; // - //#if (DONT_USE_A13_A14 == 0) + //#if (NZ32S_USE_A13_A14 == 1) //// uint16_t meas; //// //// //Measure Vbatt. It doesn't seem to make lots of a difference if we disable the DC/DC converter!