fix: tryfix power status
All checks were successful
Build ESP32 BMC Firmware / build (push) Successful in 55s

This commit is contained in:
2026-03-18 10:12:37 +01:00
parent 3dd8296dbe
commit e269bf62f3
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}