Greatings all,
Is it possible to define a global variable size after the "main" function was started.
Its out of any loop, so it would be executed only one time on bootup.
Quote:
.
.
.
{
try_time = 11;
ntp_ok=1;
ntp_fail=0;
}
}
if(try_time==10)
{
snmp_trap(lan.IP_SNMP, SNMP_TRAPDEST , 64, 0, trapindices);
if(lan.Habilitar_SNMP2 !=0)
snmp_trap(lan.IP_SNMP2, SNMP_TRAPDEST, 64, 0, trapindices);
tcp_tick(NULL);
ntp_fail=1;
}
for(i=0;i<16;i++)
{
temp=0;
temp_on=0;
}
tcp_tick(NULL);
first_time=0;
"variable definition" int numbers[num_times];
//..............................................................................
while (1)
{
.
.
.
Thank you,
Konstantin.