Switch from GPLv2 to GPLv2+
[fw/altos] / src / attiny / ao_spi_attiny.c
index 064876d78ba02cf010584abf0dffb358ba28fe17..f63eb651286cbafb6b7f6d7694ee5d7d9bcbe9f3 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
@@ -119,5 +120,4 @@ ao_spi_init(void)
        SPI_DIR &= ~(1 << DDB0);        /* DI */
        SPI_DIR |= (1 << DDB1);         /* DO */
        SPI_DIR |= (1 << DDB2);         /* SCLK */
-       SPI_DIR |= (1 << DDB3);         /* CS */
 }