mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Trying to chase down why __libc_init_array isnt working yet
This commit is contained in:
@@ -60,9 +60,11 @@ bool USBPowerDelivery::negotiationComplete() {
|
||||
}
|
||||
bool USBPowerDelivery::fusbPresent() {
|
||||
if (detectionState == 0) {
|
||||
MSG((char *)"FUSB Probe\r\n");
|
||||
if (fusb.fusb_read_id()) {
|
||||
detectionState = 1;
|
||||
}
|
||||
MSG((char *)"FUSB Probe - %d\r\n", detectionState);
|
||||
}
|
||||
return detectionState == 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user