Skip to content

Commit 286d53a

Browse files
committed
Add AK8975 to _get_name()
1 parent 2871a5d commit 286d53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mgos_imu_magnetometer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ const char *mgos_imu_magnetometer_get_name(struct mgos_imu *imu) {
6969

7070
case MAG_AK8963: return "AK8963";
7171

72+
case MAG_AK8975: return "AK8975";
73+
7274
case MAG_MAG3110: return "MAG3110";
7375

7476
default: return "UNKNOWN";

0 commit comments

Comments
 (0)