| 44 | } |
| 45 | |
| 46 | const char* SensorToggleState::toggleToString(SensorToggles toggle) { |
| 47 | switch (toggle) { |
| 48 | case SensorToggles::MagEnabled: |
| 49 | return "MagEnabled"; |
| 50 | case SensorToggles::CalibrationEnabled: |
| 51 | return "CalibrationEnabled"; |
| 52 | case SensorToggles::TempGradientCalibrationEnabled: |
| 53 | return "TempGradientCalibrationEnabled"; |
| 54 | } |
| 55 | return "Unknown"; |
| 56 | } |
nothing calls this directly
no outgoing calls
no test coverage detected