Commit 7c97231
committed
CurieIMU.cpp: initialize saved accel/gyro ranges in begin()
This ensures that "read[Accelerometer/Gyro]Scaled()" will work as
expected even if a range has not been explicitly set using the API1 parent 17d2e2f commit 7c97231
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments