fix: tryfix power status
All checks were successful
Build ESP32 BMC Firmware / build (push) Successful in 55s
All checks were successful
Build ESP32 BMC Firmware / build (push) Successful in 55s
This commit is contained in:
@@ -241,6 +241,6 @@ esp_err_t gpio_reset(void) {
|
||||
}
|
||||
|
||||
bool gpio_power_status(void) {
|
||||
int level = gpio_get_level(BMC_GPIO_POWER);
|
||||
int level = gpio_read(BMC_GPIO_POWER);
|
||||
return (level == 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user