why not
```ahrs_impl.gx3_freq = 63500.0 / (float)(ahrs_impl.gx3_time - ahrs_impl.gx3_ltime);```