Page 1 of 1

MCP356x1 Init problem

Posted: Wed Jul 23, 2025 9:52 am
by stefan.erni
Hi to All

If I use the MCP356x1 init macro I get an error.
C:/Users/Desktop/esp-idf-2/mtxesp32s_sdkconfig/main/esp-project.c: In function 'FCD_07892_ADC_MCP356X1__Initialise':
C:/Users/Desktop/esp-idf-2/mtxesp32s_sdkconfig/main/esp-project.c:533:10: error: 'FCR_RETVAL' is used uninitialized [-Werror=uninitialized]

Re: MCP356x1 Init problem

Posted: Wed Jul 23, 2025 3:08 pm
by BenR
Hi Stefan,

Thanks for letting us know, hopefully resolved for you now via library updates.

Re: MCP356x1 Init problem

Posted: Wed Jul 23, 2025 3:27 pm
by stefan.erni
Hi Ben

Yes. Perfect! It's working.
Thank you very much.

Stefan