m5stack / M5Unified

Unified library for M5Stack series
MIT License
276 stars 48 forks source link

getVBUSVoltage not working with Core2 v1.1 #115

Open forstner-m opened 3 weeks ago

forstner-m commented 3 weeks ago

Hello,

the function always returns zero, even though a USB cable is connected.

float getVBUSVoltage(void);

This function also returns false.

bool isVBUS(void);

There is a bug somewhere and please correct it.

Thank you!

Best regards, Michael