else if((306 < adval) && (adval < 510)) //采样结果关闭过程
{
doorstate1_2.dooropen_previousdoor = 0;
doorstate1_2.doorshut_previousdoor = 0;
doorstate1_2.doorclosing_previousdoor = 1;
doorstate1_2.doorfault_previousdoor = 0;
doorstate1_2doorfault_1_firstalarm = 0;
if(doorstate1_2doorclosing_1_firstalarm == 0)
(
doorstate1_2doorclosing_1_firstalarm = 1;
enable_buzzer = BUZZER_ENABLE;
bellSwitch = BUZZER_ON;
)
}
Error [195] E:\program language\water-door\sourse files\_detect.c; 2061.1 expression syntax
Error [312] E:\program language\water-door\sourse files\_detect.c; 2062.1 ";" expected
提示少了分号 找了半天都不知道哪里出了问题 |