1
0
forked from me/IronOS

Fix QC 20V support

This commit is contained in:
Ben V. Brown
2020-11-01 15:42:36 +11:00
parent 3538acb07d
commit f465d17bb3
4 changed files with 52 additions and 37 deletions

View File

@@ -34,3 +34,17 @@ uint8_t usb_pd_detect() {
return false;
}
bool getIsPoweredByDCIN() {
#ifdef MODEL_TS80
return false;
#endif
#ifdef MODEL_TS80P
return false;
#endif
#ifdef MODEL_TS100
return true;
#endif
}