--- trunk/Embedded/main.c 2007/12/09 19:58:21 203 +++ trunk/Embedded/main.c 2007/12/09 20:50:42 204 @@ -218,19 +218,20 @@ void on_initial_recieve(void) { - char imei[16]; - char* ptr; - char i; - char buf[2]; +// can't se what the outcommented lines in here sould do, that make any sence. +// char imei[16]; +// char* ptr; +// char i; +// char buf[2]; if (strstr(global_serial_recieve_buffer,"+WIND: 11") != 0) { global_modem_init = 1; - ptr = strstr(global_serial_recieve_buffer,"cgsn"); - ptr +=4; - strncpy(imei, ptr,15); - imei[15] = 0; +// ptr = strstr(global_serial_recieve_buffer,"cgsn"); +// ptr +=4; +// strncpy(imei, ptr,15); +// imei[15] = 0; reset_recieve_buffer(); } @@ -304,7 +305,7 @@ TMR1L = 0xFF; global_time_counter++; global_emergency_counter++; - RA1 = !RA1; +// RA1 = !RA1; } ////////// ORDENARY FUNKTIONS ////////// void update_lcd(void)