Unable to change ESP32-S2 Power

Great, problem solved.
I replaced the int value with the enum "WIFI_POWER_18_5_dBm" and now it is working!
Thanks!