Update QC to allow 20V theoretically + allow query for power source

This commit is contained in:
Ben V. Brown
2020-11-01 14:43:49 +11:00
parent 3146343bbb
commit f5644a090f
5 changed files with 51 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ extern "C" {
#endif
void seekQC(int16_t Vx10, uint16_t divisor);
void startQC(uint16_t divisor); // Tries to negotiate QC for highest voltage, must be run after
bool hasQCNegotiated();// Returns true if a QC negotiation worked (we are using QC)
#ifdef __cplusplus
}
#endif