Subversion Repositories Projects

Rev

Rev 215 | Rev 219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 215 Rev 216
Line 388... Line 388...
388
        if (sending||recieving) return; // its not that important - can be dropped
388
        if (sending||recieving) return; // its not that important - can be dropped
389
        send_command(0,'c');
389
        send_command(0,'c');
390
    }
390
    }
Line -... Line 391...
-
 
391
 
-
 
392
 
-
 
393
    public void switch_todo()
-
 
394
    {
-
 
395
        sleep(50);
-
 
396
        version=new MKVersion();
-
 
397
        LCD= new MKLCD(this);
-
 
398
        debug_data=new MKDebugData();
Line 391... Line 399...
391
 
399
 
392
 
400
    }
393
 
401
 
394
    public void switch_to_fc()
402
    public void switch_to_fc()
395
    {
403
    {
396
        wait4send();
-
 
397
        send_command(NAVI_SLAVE_ADDR,'u',0);
-
 
-
 
404
        wait4send();
398
        sleep(50);
405
        send_command(NAVI_SLAVE_ADDR,'u',0);
Line 399... Line 406...
399
        version=new MKVersion();
406
        switch_todo();
400
        LCD= new MKLCD(this);
407
 
401
    }
408
    }
402
 
409
 
403
 
410
 
404
    public void switch_to_mk3mag()
-
 
405
    {
-
 
406
        wait4send();
411
    public void switch_to_mk3mag()
Line 407... Line 412...
407
        send_command(NAVI_SLAVE_ADDR   ,'u',1);
412
    {
408
        sleep(50);
413
        wait4send();
409
        version=new MKVersion();
414
        send_command(NAVI_SLAVE_ADDR   ,'u',1);
Line 422... Line 427...
422
                writer.flush();
427
                writer.flush();
423
            }
428
            }
424
        catch (Exception e)  {   }
429
        catch (Exception e)  {   }
425
        sending=false;
430
        sending=false;
Line 426... Line 431...
426
       
431
       
427
        sleep(50);
-
 
428
        version=new MKVersion();
-
 
-
 
432
        switch_todo();
429
        LCD= new MKLCD(this);
433
 
Line 430... Line 434...
430
    }
434
    }
431
 
435