altos/telelco-v2.0: Fix button names and pin mappings. Add drag LED.
[fw/altos] / src / drivers / ao_25lc1024.c
index c5d811f7bfc73905219c1b9cd5b6fb0ddb683aaf..a9c897b3154f8d26f97e5bfec2deee746d637306 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
@@ -236,5 +237,5 @@ void
 ao_storage_device_init(void)
 {
        /* set up CS */
-       ao_enable_output(EE_CS_PORT, EE_CS_PIN,1);
+       ao_enable_output(EE_CS_PORT, EE_CS_PIN, EE_CS, 1);
 }