Rev 2009 | Rev 2041 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2009 | 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 452... | Line 452... | ||
452 | } |
452 | } |
453 | // handle keypress |
453 | // handle keypress |
454 | if (s1_pressed()) { |
454 | if (s1_pressed()) { |
455 | config_menu(); |
455 | config_menu(); |
456 | } |
456 | } |
- | 457 | ||
457 | // reqest data untill there has been some answer |
458 | // reqest data untill there has been some answer |
458 | if (!(COSD_FLAGS_RUNTIME & COSD_DATARECEIVED) || |
459 | if (!(COSD_FLAGS_RUNTIME & COSD_DATARECEIVED) || |
459 | // or while not in passive mode |
460 | // or while not in passive mode |
460 | (seconds_since_last_data > 0 && !(COSD_FLAGS_CONFIG & COSD_FLAG_PASSIVE))) { |
461 | (seconds_since_last_data > 0 && !(COSD_FLAGS_CONFIG & COSD_FLAG_PASSIVE))) { |
461 | usart1_EnableTXD(); |
462 | usart1_EnableTXD(); |