circuitdojo / nrf9160-feather-examples-and-drivers

Zephyr examples and drivers for the nRF9160 Feather
Apache License 2.0
43 stars 19 forks source link

printf in accelerometer example does not format #4

Closed turbinenreiter closed 2 years ago

turbinenreiter commented 3 years ago

See this line: https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers/blob/6e092194f24670328d717681204d1a941e8247b6/samples/accelerometer/src/main.c#L41

The printf outputs the following:

#27 @ 25206 ms: x %f , y %f , z %f

Expected

#27 @ 25206 ms: x 0.0, y 0.0 , z 9.91
jaredwolff commented 2 years ago

Should be working ok in the v1.7.x branch.