Well, you can improve it to, instead of making several warnings:
1- Printing (normally) on console the error messages
2- No graphical message on this case. Only console.
3- If possible, assign a "default" value for this inexistent field. And by
"default" I mean a hardcoded default ie. 'SENSOR_FEATURELESS' or something like
that. Need see defs.h. |