static u32 raw_press;
int adjusted_temp;
int adjusted_press;
+u32 bmp_counter;
void bmp_step(void)
{
bmp_debug("BMP: Raw pressure: %06x\n", raw_press);
bmp_recalc(raw_temp, raw_press, BMP_OSS, bmp_constants, &adjusted_temp, &adjusted_press);
bmp_debug("BMP: Adjusted temp %d, press %d\n", adjusted_temp, adjusted_press);
+ bmp_counter++;
bmp_state = BMP_IDLE;
break;
}