Rev 1866 | Rev 2009 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1866 | Rev 1951 | ||
---|---|---|---|
Line 332... | Line 332... | ||
332 | #if !FCONLY |
332 | #if !FCONLY |
333 | usart1_request_nc_uart(); |
333 | usart1_request_nc_uart(); |
334 | #endif |
334 | #endif |
Line 335... | Line 335... | ||
335 | 335 | ||
- | 336 | while (1) { |
|
- | 337 | // debug ppm |
|
- | 338 | //write_ndigit_number_u(9, 4, ppm, 5, 0); |
|
- | 339 | ||
336 | while (1) { |
340 | |
337 | // in case SPI is ready and there is nothing to send right now |
341 | // in case SPI is ready and there is nothing to send right now |
338 | if (!icnt && spi_ready) { |
342 | if (!icnt && spi_ready) { |
339 | // correct transfer ends with d (done) |
343 | // correct transfer ends with d (done) |
340 | if (SPI_buffer.buffer.chk == 'd') { |
344 | if (SPI_buffer.buffer.chk == 'd') { |