Mercurial > public > ostc4
comparison Small_CPU/Src/compass.c @ 147:14e4c83a7559 FlipDisplay
Forward compass data during calibration mode
author | Ideenmodellierer |
---|---|
date | Sat, 02 Mar 2019 16:57:59 +0100 |
parents | 22a1094545f3 |
children | 9ecc2e60418d |
comparison
equal
deleted
inserted
replaced
146:5c0f80e6b37a | 147:14e4c83a7559 |
---|---|
1879 { | 1879 { |
1880 tickstart = -ticks; | 1880 tickstart = -ticks; |
1881 } | 1881 } |
1882 HAL_Delay(1); | 1882 HAL_Delay(1); |
1883 ticks = lasttick - tickstart; | 1883 ticks = lasttick - tickstart; |
1884 SPI_Evaluate_RX_Data(); | |
1884 } | 1885 } |
1885 | 1886 |
1886 compass_solve_calibration(&g); | 1887 compass_solve_calibration(&g); |
1887 | 1888 |
1888 tfull32 dataBlock[4]; | 1889 tfull32 dataBlock[4]; |