FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/aci/ati_cmd.c @ 628:38a65c3a96af
aci2 & aci3: AT@SPKR conditionalized on GPIO1_SPEAKER_CTRL
new preprocessor symbol
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 23 Dec 2019 07:30:59 +0000 |
parents | 92dbfa906f66 |
children | 597869e59805 |
comparison
equal
deleted
inserted
replaced
627:4a8dacbe9187 | 628:38a65c3a96af |
---|---|
741 EXTERN T_ATI_RSLT atAtPOFF (CHAR *cl, UBYTE srcId); | 741 EXTERN T_ATI_RSLT atAtPOFF (CHAR *cl, UBYTE srcId); |
742 EXTERN T_ATI_RSLT atAtRST (CHAR *cl, UBYTE srcId); | 742 EXTERN T_ATI_RSLT atAtRST (CHAR *cl, UBYTE srcId); |
743 EXTERN T_ATI_RSLT atAtBAND (CHAR *cl, UBYTE srcId); | 743 EXTERN T_ATI_RSLT atAtBAND (CHAR *cl, UBYTE srcId); |
744 | 744 |
745 /* FreeCalypso additions */ | 745 /* FreeCalypso additions */ |
746 #if defined(CONFIG_TARGET_DSAMPLE) || defined(CONFIG_TARGET_FCFAM) | 746 #if GPIO1_SPEAKER_CTRL |
747 EXTERN T_ATI_RSLT atAtSPKR (char *cl, UBYTE srcId); | 747 EXTERN T_ATI_RSLT atAtSPKR (char *cl, UBYTE srcId); |
748 EXTERN T_ATI_RSLT queatAtSPKR (char *cl, UBYTE srcId); | 748 EXTERN T_ATI_RSLT queatAtSPKR (char *cl, UBYTE srcId); |
749 #endif | 749 #endif |
750 #ifdef CONFIG_TARGET_FCMODEM | 750 #ifdef CONFIG_TARGET_FCMODEM |
751 EXTERN T_ATI_RSLT atAtVPATH (char *cl, UBYTE srcId); | 751 EXTERN T_ATI_RSLT atAtVPATH (char *cl, UBYTE srcId); |
1207 {"@ST", AT_CMD_P_ST, atAtST, test_gen, queatAtST, "%s: (-26,-23,-20,-17,-14,-11,-8,-5,-2,1)"}, | 1207 {"@ST", AT_CMD_P_ST, atAtST, test_gen, queatAtST, "%s: (-26,-23,-20,-17,-14,-11,-8,-5,-2,1)"}, |
1208 {"@POFF", AT_CMD_P_POFF, atAtPOFF, 0, 0, 0}, | 1208 {"@POFF", AT_CMD_P_POFF, atAtPOFF, 0, 0, 0}, |
1209 {"@RST", AT_CMD_P_RST, atAtRST, 0, 0, 0}, | 1209 {"@RST", AT_CMD_P_RST, atAtRST, 0, 0, 0}, |
1210 {"@BAND", AT_CMD_P_BAND, atAtBAND, 0, 0, 0}, | 1210 {"@BAND", AT_CMD_P_BAND, atAtBAND, 0, 0, 0}, |
1211 /* FreeCalypso additions */ | 1211 /* FreeCalypso additions */ |
1212 #if defined(CONFIG_TARGET_DSAMPLE) || defined(CONFIG_TARGET_FCFAM) | 1212 #if GPIO1_SPEAKER_CTRL |
1213 {"@SPKR", AT_CMD_AT_SPKR, atAtSPKR, test_gen, queatAtSPKR, "%s: (0,1)"}, | 1213 {"@SPKR", AT_CMD_AT_SPKR, atAtSPKR, test_gen, queatAtSPKR, "%s: (0,1)"}, |
1214 #endif | 1214 #endif |
1215 #ifdef CONFIG_TARGET_FCMODEM | 1215 #ifdef CONFIG_TARGET_FCMODEM |
1216 {"@VPATH", AT_CMD_AT_VPATH, atAtVPATH,test_gen, queatAtVPATH,"%s: (0-2)"}, | 1216 {"@VPATH", AT_CMD_AT_VPATH, atAtVPATH,test_gen, queatAtVPATH,"%s: (0-2)"}, |
1217 {"@VSEL", AT_CMD_AT_VSEL, atAtVSEL, test_gen, queatAtVSEL, "%s: (0,1)"}, | 1217 {"@VSEL", AT_CMD_AT_VSEL, atAtVSEL, test_gen, queatAtVSEL, "%s: (0,1)"}, |