Commit 959bcd0
committed
Initialize BOARD_VIN_MEASURE on NanoXRP
The NanoXRP uses BOARD_VIN_MEASURE for the BLE CS pin. It must be set back to output mode if used for ADC readings.
Adds a check for "NanoXRP" in sys.implementation._machine and sets Pin("BOARD_VIN_MEASURE", Pin.OUT) to ensure the pin is configured correctly on that hardware.1 parent e5e57d5 commit 959bcd0
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
0 commit comments