Update hardware.cpp

This commit is contained in:
Ben V. Brown
2019-12-31 22:54:43 +11:00
parent 6b7567257b
commit 0672d637a4

View File

@@ -206,7 +206,7 @@ void startQC(uint16_t divisor) {
// negotiating as someone is feeding in hv // negotiating as someone is feeding in hv
uint16_t vin = getInputVoltageX10(divisor, 1); uint16_t vin = getInputVoltageX10(divisor, 1);
if (vin > 100) { if (vin > 100) {
QCMode = 1; // ALready at ~12V QCMode = 1; // Already at 12V, user has probably over-ridden this
return; return;
} }
GPIO_InitTypeDef GPIO_InitStruct; GPIO_InitTypeDef GPIO_InitStruct;