analogReadMilliVolts function in Heltec environment

Hello,

The analogReadMilliVolts function gives accurate readings in espressif environment, but I am unable to run this function in Heltec environment.

Can someone help me on this please.

Thanks