Switch from GPLv2 to GPLv2+
[fw/altos] / src / drivers / ao_mma655x.h
index 2d951e07a4a110b01b2cf87b8ebaa0e66c6c82ce..87f7384ddeea7f6fcefdb84bd577fae0b30d8ef9 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
 #define AO_MMA655X_COUNT       0x15
 #define AO_MMA655X_OFFCORR     0x16
 
+/*
+ * Range of valid self-test difference from
+ * normal measurement
+ */
+
+#define AO_ST_MIN      300
+#define AO_ST_MAX      800
+
 extern uint16_t        ao_mma655x_current;
 
 void