hw functions for the SOLID slow control

Dependents:   S_SCTRL_e_test SPItest sscm

Revision:
4:a83242fe9d37
Parent:
1:af78e316f889
Child:
5:b527df9432c3
--- a/S_SCTRL_SM1_hwfunct.cpp	Sun Sep 07 15:31:42 2014 +0000
+++ b/S_SCTRL_SM1_hwfunct.cpp	Sun Sep 07 18:55:47 2014 +0000
@@ -13,8 +13,8 @@
 hwlines->sclk[0] = new DigitalOut(SCLK);
 hwlines->direction[0] = new DigitalOut(DIRECTION);
 hwlines->stio_mo[0] = new DigitalOut(STIO_MO);
-hwlines->csb1_1[0] = new DigitalOut(ADC1_CSN);
-hwlines->csb2_1[0] = new DigitalOut(ADC2_CSN);
+hwlines->csb1[0] = new DigitalOut(ADC1_CSN);
+hwlines->csb2[0] = new DigitalOut(ADC2_CSN);
 
 
 
@@ -37,8 +37,8 @@
 hwlines->sclk[1] = new DigitalOut(SCLK_2);
 hwlines->direction[1] = new DigitalOut(DIRECTION2);
 hwlines->stio_mo[1] = new DigitalOut(STIO2_MO);
-hwlines->csb1_1[1] = new DigitalOut(ADC1_2_CSN);
-hwlines->csb2_1[1] = new DigitalOut(ADC2_2_CSN);
+hwlines->csb1[1] = new DigitalOut(ADC1_2_CSN);
+hwlines->csb2[1] = new DigitalOut(ADC2_2_CSN);
 
 // SPI pins
 hwlines->mosi[1] = new DigitalOut(MOSI_2);