Rev 738 | Rev 772 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 738 | Rev 761 | ||
---|---|---|---|
Line 88... | Line 88... | ||
88 | usart1_putc(*s); |
88 | usart1_putc(*s); |
89 | s++; |
89 | s++; |
90 | } |
90 | } |
91 | }*/ |
91 | }*/ |
Line 92... | Line -... | ||
92 | - | ||
93 | 92 | ||
94 | /** |
93 | /** |
95 | * send a PGM<string> throught usart1 |
94 | * send a PGM<string> throught usart1 |
96 | */ |
95 | */ |
97 | void usart1_puts_pgm(const char* string) { |
96 | void usart1_puts_pgm(const char* string) { |
Line 123... | Line 122... | ||
123 | static uint8_t usart_rx_ok = 0; |
122 | static uint8_t usart_rx_ok = 0; |
124 | uint8_t crc1, crc2; |
123 | uint8_t crc1, crc2; |
125 | // the rxd buffer is unlocked |
124 | // the rxd buffer is unlocked |
126 | if (usart_rx_ok == 0) { |
125 | if (usart_rx_ok == 0) { |
127 | // if ((c2 == '#') && (c1 == 'b' || c1 == 'c') && (c == 'D' || c == 'V' || c == 'O')) { |
126 | // if ((c2 == '#') && (c1 == 'b' || c1 == 'c') && (c == 'D' || c == 'V' || c == 'O')) { |
- | 127 | ||
128 | if ((c2 == '#') && (c1 == 'b' || c1 == 'c') && |
128 | if ((c2 == '#') && (c1 == 'b' || c1 == 'c') && |
129 | #if FCONLY |
129 | #if FCONLY |
130 | (c == 'V' || c == 'D')) { // version and debug |
130 | (c == 'V' || c == 'D')) { // version and debug |
131 | #else |
131 | #else |
132 | (c == 'V' || c == 'O')) { // version and OSD |
132 | (c == 'V' || c == 'O')) { // version and OSD |