Subversion Repositories Projects

Rev

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

Rev 31 Rev 59
Line 101... Line 101...
101
    {
101
    {
102
        while(true)
102
        while(true)
103
            {
103
            {
Line 104... Line 104...
104
 
104
 
105
               
105
               
106
                if (mk.connected&&(!mk.force_disconnect))
106
                if (mk.connected&&(mk.debug_data.UBatt()!=-1)&&(!mk.force_disconnect))
Line 107... Line 107...
107
                    {
107
                    {
108
                        int ubatt=mk.debug_data.UBatt();
108
                        int ubatt=mk.debug_data.UBatt();
-
 
109
 
-
 
110
                        start_playing((ubatt/10)+".mp3");
-
 
111
                        wait_for_end();
109
 
112
 
110
                        start_playing((ubatt/10)+".mp3");
113
                        if((ubatt%10)!=0)
111
                        wait_for_end();
114
                            {
112
                        start_playing("komma.mp3");
115
                                start_playing("komma.mp3");
-
 
116
                                wait_for_end();
113
                        wait_for_end();
117
                                start_playing((ubatt%10)+".mp3");
Line 114... Line 118...
114
                        start_playing((ubatt%10)+".mp3");
118
                                wait_for_end();