]> git.karo-electronics.de Git - oswald.git/blobdiff - metawatch/mw_acc.c
Maybe a little sniff mode, add ambient light adc (not working),
[oswald.git] / metawatch / mw_acc.c
index 8fdd2a6f0233baf643d4bd491f0b736d69cdaea2..0717a9246950dbf0a713ce23f6aec19134a4c3ef 100644 (file)
@@ -277,7 +277,7 @@ void mw_acc_init(void)
     
        /* this causes data to always be sent */
        // WriteRegisterData = 0x00;
-       WriteRegisterData = 0x02 /*0x08*/;
+       WriteRegisterData = 0x01 /*0x08*/;
        mw_acc_i2c_write(KIONIX_WUF_THRESH, &WriteRegisterData, 1);
      
        /* single byte read test */