altos: sdcc doesn't have 'false' and 'true'.
[fw/altos] / src / drivers / ao_mma655x.c
index c36858add00bd4eb83711665b233d43111857486..5d44bffdae8982bead6f95152be2d4ddd0acf111 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
@@ -29,8 +30,6 @@
 #define PRINTD(l,...) 
 #endif
 
-uint8_t        ao_mma655x_spi_index = AO_MMA655X_SPI_INDEX;
-
 static void
 ao_mma655x_start(void) {
        ao_spi_get_bit(AO_MMA655X_CS_PORT,