I'm a new programmer,my program is about getting LED on,maybe the simplest in C language,but it is always having _'Delay10ms':function contains unnamed parameter,hoping someone help me to solve it. here are my words:
#include<reg51.h>
#include<intrins.h>
#define GPIO_LED P2
void Delay10ms(unsigned char time)
{
    unsigned char i,j;
    for(i=1;i<110*time;i++)
       for(j=1;j<110;j++);
}
void main()
{
    unsigned char n,i,j;
    GPIO_LED=0X01;
    while(1)
    {
        for(n=0;n<7;n++)
        {
            GPIO_LED=_crol_(GPIO_LED,1);
            Delay10ms(50);
        }
        for(n=0;n<7;n++)
        {
            GPIO_LED=_cror_(GPIO_LED,1);
            Delay10ms(50);
        }
    }
}
 
     
     
    