src: Add explicit 'pin' argument to ao_enable_output
[fw/altos] / src / drivers / ao_25lc1024.c
index c5d811f7bfc73905219c1b9cd5b6fb0ddb683aaf..fac0a430f1b97406fefa92d31a4936c5b2fd2aa9 100644 (file)
@@ -236,5 +236,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);
 }