Forum >error: 'PinStatus' does not name a type
error: 'PinStatus' does not name a type

In case you are triyng to compile any wifi / IOT example for the firebeetle ESP32
and you got the error:
error: 'PinStatus' does not name a type
this problem is caused by the wrong wifi library linked so you have to exclude wifinina
so inside Arduino go in library manager, look for wifinina e uninstall it

in platformio write in the platformio.ini file:
lib_ignore = WIFININA