Subversion Repositories NaviCtrl

Rev

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

Rev 247 Rev 250
Line 76... Line 76...
76
#include "logging.h"
76
#include "logging.h"
77
#include "params.h"
77
#include "params.h"
78
#include "settings.h"
78
#include "settings.h"
79
#include "config.h"
79
#include "config.h"
80
#include "main.h"
80
#include "main.h"
-
 
81
#include "debug.h"
Line 81... Line 82...
81
 
82
 
82
u8 BoardRelease = 0;
83
u8 BoardRelease = 0;
83
u32 TimerCheckError;
84
u32 TimerCheckError;
84
u8 ErrorCode = 0;
85
u8 ErrorCode = 0;
Line 386... Line 387...
386
        // set to absolute lowest priority
387
        // set to absolute lowest priority
387
    VIC_Config(EXTIT3_ITLine, VIC_IRQ, PRIORITY_SW);
388
    VIC_Config(EXTIT3_ITLine, VIC_IRQ, PRIORITY_SW);
388
        // enable interrupts
389
        // enable interrupts
389
    VIC_ITCmd(EXTIT3_ITLine, ENABLE);
390
    VIC_ITCmd(EXTIT3_ITLine, ENABLE);
Line -... Line 391...
-
 
391
 
-
 
392
        Debug_OK("START");
390
 
393
 
391
        for (;;) // the endless main loop
394
        for (;;) // the endless main loop
392
        {
395
        {
393
                UART0_ProcessRxData();  // process request
396
                UART0_ProcessRxData();  // process request
394
                UART1_ProcessRxData();  // process request
397
                UART1_ProcessRxData();  // process request
395
                USB_ProcessRxData();    // process request
398
                //USB_ProcessRxData();  // process request
396
                UART0_TransmitTxData(); // send answer
399
                UART0_TransmitTxData(); // send answer
397
                UART1_TransmitTxData(); // send answer
400
                UART1_TransmitTxData(); // send answer
398
                UART2_TransmitTxData(); // send answer
401
                UART2_TransmitTxData(); // send answer
399
                USB_TransmitTxData();   // send answer
402
                //USB_TransmitTxData();         // send answer
400
                SPI0_UpdateBuffer();    // handle new SPI Data
403
                SPI0_UpdateBuffer();    // handle new SPI Data
401
                // ---------------- Error Check Timing ----------------------------
404
                // ---------------- Error Check Timing ----------------------------
402
                if(CheckDelay(TimerCheckError))
405
                if(CheckDelay(TimerCheckError))
403
                {
406
                {