Utilize ERROR_*
codes as return value defined in globals.h
#57
Labels
Milestone
ERROR_*
codes as return value defined in globals.h
#57
As I was working to implement #55, I realized that the
update
method of theLSM6DS33
could better describe the reason for failing through utilizing some of the error codes we already have defined insrc/globals.h
. Perhaps we might need to add a few more to better express what went wrong for this specific function.SPARTAN/Software/src/sensors/lsm6ds33.cpp
Lines 166 to 201 in d8d46cb
Make sure when you change the return value of this function, its invocations also respect the new return value (and handle all of the possible return values properly).
Related to #56.
The text was updated successfully, but these errors were encountered: