Subversion Repositories Projects

Rev

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

Rev 761 Rev 800
Line 16... Line 16...
16
 *   along with this program; if not, write to the                          *
16
 *   along with this program; if not, write to the                          *
17
 *   Free Software Foundation, Inc.,                                        *
17
 *   Free Software Foundation, Inc.,                                        *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
19
 ****************************************************************************/
19
 ****************************************************************************/
20
 
20
 
-
 
21
#include "main.h"
21
#include <avr/io.h>
22
#include <avr/io.h>
22
#include <avr/interrupt.h>
23
#include <avr/interrupt.h>
23
#include "ppm.h"
24
#include "ppm.h"
24
#include "main.h"
-
 
25
#include "max7456_software_spi.h" // clearing
25
#include "max7456_software_spi.h" // clearing
26
 
26
 
27
#if !(ALLCHARSDEBUG|(WRITECHARS != -1))
27
#if !(ALLCHARSDEBUG|(WRITECHARS != -1))
28
 
28
 
29
volatile uint16_t old_timer1 = 0, ppm = 0;
29
volatile uint16_t old_timer1 = 0, ppm = 0;
Line 69... Line 69...
69
    }
69
    }
70
    //write_ndigit_number_u(2, 5, ppm, 1000, 0); // debug
70
    //write_ndigit_number_u(2, 5, ppm, 1000, 0); // debug
71
    //write_ndigit_number_u(2, 6, valid_ppm_to_go, 100, 0); // debug
71
    //write_ndigit_number_u(2, 6, valid_ppm_to_go, 100, 0); // debug
72
    //write_ndigit_number_u(2, 7, COSD_FLAGS_CONFIG, 100, 0); // debug
72
    //write_ndigit_number_u(2, 7, COSD_FLAGS_CONFIG, 100, 0); // debug
73
    PORTC ^= (1 << PC3);
73
    PORTC ^= (1 << PC3);
74
    uptime = ppm;
74
    //uptime = ppm;
75
}
75
}
76
 
76
 
77
#endif
77
#endif