AnsweredAssumed Answered

Change _Error_Handler() function signature

Question asked by NikolayBobovnikov on Oct 20, 2017
Latest reply on Feb 8, 2018 by Jeanne Joly

Hello!

 

Right now CubeMX generates code with the following signature of Error_Handler function:

void _Error_Handler(char *, int);

 

When I turn my project to use c++, compiler doesn't like it, and I change it to the following:

void _Error_Handler(const char *, int);

So I suggest to adjust code generation accordingly.


Regards, 
Nikolay

Outcomes