+ ao_panic(AO_PANIC_SELF_TEST);
+
+ ao_hmc5883_reg_write(HMC5883_CONFIG_A,
+ (HMC5883_CONFIG_A_MA_8 << HMC5883_CONFIG_A_MA) |
+ (HMC5883_CONFIG_A_DO_15 << HMC5883_CONFIG_A_DO) |
+ (HMC5883_CONFIG_A_MS_NORMAL << HMC5883_CONFIG_A_MS));
+
+ ao_hmc5883_reg_write(HMC5883_CONFIG_B,
+ (HMC5883_CONFIG_B_GN_1_3 << HMC5883_CONFIG_B_GN));
+