X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fattiny%2Fao_spi_attiny.c;h=f63eb651286cbafb6b7f6d7694ee5d7d9bcbe9f3;hp=064876d78ba02cf010584abf0dffb358ba28fe17;hb=fab890328d4e1151932621a317226bc291b853da;hpb=64500ab11ab76d2309608f8e02a1dd9658963b3e diff --git a/src/attiny/ao_spi_attiny.c b/src/attiny/ao_spi_attiny.c index 064876d7..f63eb651 100644 --- a/src/attiny/ao_spi_attiny.c +++ b/src/attiny/ao_spi_attiny.c @@ -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 */ }