File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 29
29
*/
30
30
31
31
#include < string.h>
32
+ #include < iomanip>
32
33
#include < sstream>
33
34
34
35
#include < arpa/inet.h>
@@ -148,6 +149,15 @@ bool StatusRx::parseStatus(const SonarStatus &status) {
148
149
LOG (WARNING) << " Halt: Flash Error. Update firmware" ;
149
150
} else if (prt == oculusPauseJtagLoad) {
150
151
LOG (WARNING) << " Halt: JTAG Load" ;
152
+ } else if (prt == oculusPauseFirmwareError) {
153
+ LOG (WARNING) << " Halt: Firmware error" ;
154
+ } else if (prt == oculusPauseCompatibilityError) {
155
+ LOG (WARNING) << " Halt: Compatibility error" ;
156
+ } else if (prt == oculusPauseBrownout) {
157
+ LOG (WARNING) << " Halt: Brownout" ;
158
+ } else {
159
+ LOG (WARNING) << " Halt: unknown error (0x" << std::hex
160
+ << static_cast <int >(prt) << " )" ;
151
161
}
152
162
153
163
return false ;
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ enum OculusPauseReasonType : uint8_t
46
46
oculusPauseBootFromMain,
47
47
oculusPauseFlashError,
48
48
oculusPauseJtagLoad,
49
+ oculusPauseFirmwareError,
50
+ oculusPauseCompatibilityError,
51
+ oculusPauseBrownout
49
52
};
50
53
51
54
enum OculusTemperatureStatusType : uint8_t
You can’t perform that action at this time.
0 commit comments