The C code is:
#pragma SRC #include<Reg936.h> #define uchar unsigned char #define uint unsigned int extern uchar AA1; extern uchar a_func(uchar) void main() { unsigned char ab,acd; AA1=0xff; P0M1=0xff; P0M2=0xff; ab=1; acd=128; while(1) { if(ab==128) { P0=~acd; ab=128; acd/=2; a_func(acd); } if(acd==128) { P0=~ab; acd=128; ab*=2; a_func(ab/2); } if((ab==128)&&(acd==1)) { ab=1; acd=128; } } }
when i press the "build target",and disappear the error:
C51 FATAL-ERROR - ACTION: PARSING INVOKE-/#PRAGMA-LINE LINE: #pragma SRC ERROR: RESPECIFIED OR CONFLICTING CONTROL
how to deal with the error?