Subversion Repositories Projects

Rev

Rev 1866 | Rev 2099 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1866 Rev 2039
Line 1... Line 1...
1
/****************************************************************************
1
/****************************************************************************
2
 *   Copyright (C) 2009-2013 by Claas Anders "CaScAdE" Rathje               *
2
 *   Copyright (C) 2009-2014 by Claas Anders "CaScAdE" Rathje               *
3
 *   admiralcascade@gmail.com                                               *
3
 *   admiralcascade@gmail.com                                               *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
5
 *                                                                          *
5
 *                                                                          *
6
 *   This program is free software; you can redistribute it and/or modify   *
6
 *   This program is free software; you can redistribute it and/or modify   *
7
 *   it under the terms of the GNU General Public License as published by   *
7
 *   it under the terms of the GNU General Public License as published by   *
Line 224... Line 224...
224
        usart1_EnableTXD();
224
        usart1_EnableTXD();
225
        usart1_puts_pgm(message);
225
        usart1_puts_pgm(message);
226
        usart1_DisableTXD();
226
        usart1_DisableTXD();
227
        static uint8_t wait = 0;
227
        static uint8_t wait = 0;
228
        wait = 0;
228
        wait = 0;
-
 
229
 
-
 
230
                // wait for complete answer
229
        while (rxd_buffer_locked == 0 && wait < 150) {
231
        while (rxd_buffer_locked == 0 && wait < 200) {
230
            wait++;
232
            wait++;
231
            _delay_ms(50);
233
            _delay_ms(10);
232
        }
234
        }
233
        _delay_ms(100);
235
        _delay_ms(150);
234
    }
236
    }
235
    Decode64();
237
    Decode64();
236
}
238
}
Line 237... Line 239...
237
 
239