mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Update hardware.cpp
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user