Skip to content

Commit 3aa2052

Browse files
Fixed inverted boolean in comment (#309)
* Fixed inverted boolean in comment Just a code comment that was a bit back to front. MPUs require USE_6_AXIS to be false, not true * Update src/assets/js/configuring-defines.js Co-authored-by: Meia <71262281+kounocom@users.noreply.github.com> --------- Co-authored-by: Meia <71262281+kounocom@users.noreply.github.com>
1 parent d561ace commit 3aa2052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/js/configuring-defines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
ICM20948_warning: {
156156
name: '',
157157
renderer: types.HTML,
158-
html: '<strong style="color: orange;">WARNING: To enable the magnetometer you need to go into src/debug.h and change "#define USE_6_AXIS false" to true. Using the magnetometer necessarily requires that you have a stable magnetic environment.</strong>',
158+
html: '<strong style="color: orange;">WARNING: To enable the magnetometer you need to go into src/debug.h and change "#define USE_6_AXIS true" to false. Using the magnetometer necessarily requires that you have a stable magnetic environment.</strong>',
159159
hidden: (vals) => !(vals.imu == 'IMU_ICM20948' || vals.imu_2 == 'IMU_ICM20948'),
160160
action: () => { return {}; }
161161
},

0 commit comments

Comments
 (0)