Battery user mod format problem

This did not work
#define USERMOD_BATTERY

#define USERMOD_BATTERY_MAX_VOLTAGE 6.2

#define USERMOD_BATTERY_MEASUREMENT_PIN GPIO0

Compiling .pio\build\wemos_shield_esp32\src\util.cpp.o
In file included from wled00/wled.h:108:0,
from wled00/usermods_list.cpp:1:
wled00/my_config.h:29:41: error: ‘GPIO0’ was not declared in this scope
#define USERMOD_BATTERY_MEASUREMENT_PIN GPIO0
^
wled00/…/usermods/Battery/usermod_v2_Battery.h:17:25: note: in expansion of macro ‘USERMOD_BATTERY_MEASUREMENT_PIN’
int8_t batteryPin = USERMOD_BATTERY_MEASUREMENT_PIN;