| 72 | } |
| 73 | |
| 74 | void IMU_Sensor::get_mag(float &x, float &y, float &z) { |
| 75 | if (!available) return; |
| 76 | |
| 77 | x = (float) -magno_data.x; |
| 78 | y = (float) magno_data.z; |
| 79 | z = (float) magno_data.y; |
| 80 | } |
| 81 | |
| 82 | int IMU_Sensor::get_sensor_count() { |
| 83 | return sensor_count; |
nothing calls this directly
no outgoing calls
no test coverage detected