/branches/ligi_j2me/src/MKWatchDog.java |
---|
18,8 → 18,10 |
int debug_data_count_buff=-123; |
int lcd_data_count_buff=-123; |
public MKWatchDog(MKCommunicator _mk) |
{ |
mk=_mk; |
new Thread( this ).start(); // fire up main Thread |
} |
34,8 → 36,9 |
if (mk.connected&&(!mk.force_disconnect)) |
{ |
if (debug_data_count_buff==mk.debug_data_count) |
mk.close_connections(false); |
{ |
mk.close_connections(false); |
} |
if ((lcd_data_count_buff==mk.lcd_data_count)||(mk.lcd_data_count==0)) |
mk.LCD.trigger_LCD(); |