MCP356x1 Init problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
stefan.erni
Valued Contributor
Posts: 1046
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 198 times
Been thanked: 220 times

MCP356x1 Init problem

Post 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]
Attachments
Post_MCP1.fcfx
(9.52 KiB) Downloaded 17 times

BenR
Matrix Staff
Posts: 1950
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 694 times

Re: MCP356x1 Init problem

Post by BenR »

Hi Stefan,

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

stefan.erni
Valued Contributor
Posts: 1046
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 198 times
Been thanked: 220 times

Re: MCP356x1 Init problem

Post by stefan.erni »

Hi Ben

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

Stefan

Post Reply