X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fdrivers%2Fao_hmc5883.h;h=8d726510911558ae4e6ec3b8883941f286bf0bfc;hp=556909784040f9be4fd5979d793d189f5b1ec7ec;hb=9aa7993ee31bdfd6890ad7262a0375c07464ee76;hpb=69a8907ecbb7ca0e8526aeea0dc7490a191a0f8b diff --git a/src/drivers/ao_hmc5883.h b/src/drivers/ao_hmc5883.h index 55690978..8d726510 100644 --- a/src/drivers/ao_hmc5883.h +++ b/src/drivers/ao_hmc5883.h @@ -75,10 +75,14 @@ #define HMC5883_ID_B 11 #define HMC5883_ID_C 12 +extern uint8_t ao_hmc5883_valid; + struct ao_hmc5883_sample { int16_t x, y, z; }; +extern struct ao_hmc5883_sample ao_hmc5883_current; + void ao_hmc5883_init(void);