2020-04-18 05:20 PM
Trying to monitor a 'C' variable of type bool results in the error
not connected ! bad parameter (7)
and the probe connection drops. It then comes back all on its own!!
Changing the variable to any other type and the monitor runs fine.
Solved! Go to Solution.
2023-09-27 06:32 AM
No update since a while, closing the post.
2020-04-20 06:39 AM
Dear frackers,
Did you define your own bool type or did you use
#include <stdbool.h>
?
2020-05-05 08:03 AM
I have the same issue, all bool values appear as undefined type. I'm including <stdbool.h>.
CubeMonitor does not seem to convert GCC's _Bool to uint8_t.
2020-05-05 10:29 AM
Dear NPaqu.1,
Sorry for the inconvenience, but unfortunately the bool type from <stdbool.h> is not supported for the time being. This is definitively something we will consider in an upcoming release.
Meanwhile, you can define your own bool type like this :
typedef enum { false, true } bool;
or even like this :
typedef int bool;
#define true 1
#define false 0
2023-09-27 06:32 AM
No update since a while, closing the post.