mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
* Enforce clang-format on the repo * improve CI config * fix build error * undo src format * apply format by hand * fix last one * fix build error * wat
23 lines
440 B
C++
23 lines
440 B
C++
#include "Status.h"
|
|
|
|
namespace SlimeVR {
|
|
namespace Status {
|
|
const char* statusToString(Status status) {
|
|
switch (status) {
|
|
case LOADING:
|
|
return "LOADING";
|
|
case LOW_BATTERY:
|
|
return "LOW_BATTERY";
|
|
case IMU_ERROR:
|
|
return "IMU_ERROR";
|
|
case WIFI_CONNECTING:
|
|
return "WIFI_CONNECTING";
|
|
case SERVER_CONNECTING:
|
|
return "SERVER_CONNECTING";
|
|
default:
|
|
return "UNKNOWN";
|
|
}
|
|
}
|
|
} // namespace Status
|
|
} // namespace SlimeVR
|