Compare commits
2 Commits
9af5bc8463
...
80fc94517d
Author | SHA1 | Date |
---|---|---|
Sanyog Nevase Nevase | 80fc94517d | |
Sanyog Nevase Nevase | ae0ab563d3 |
4
main.c
4
main.c
|
@ -139,7 +139,7 @@ void nmea_sentence_process(const char *nmea_sentence)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void UART1_Handler(void)
|
void UART1_Handler(void)
|
||||||
{
|
{
|
||||||
|
@ -168,7 +168,7 @@ int main(void)
|
||||||
if (nmea_ready)
|
if (nmea_ready)
|
||||||
{
|
{
|
||||||
nmea_ready = false;
|
nmea_ready = false;
|
||||||
process_nmea_sentence((const char *)nmea_sentence);
|
nmea_sentence_process((const char *)nmea_sentence);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ void ResetISR(void);
|
||||||
static void NmiSR(void);
|
static void NmiSR(void);
|
||||||
static void FaultISR(void);
|
static void FaultISR(void);
|
||||||
static void IntDefaultHandler(void);
|
static void IntDefaultHandler(void);
|
||||||
|
void UART1_Handler(void);
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
//
|
//
|
||||||
// External declaration for the reset handler that is to be called when the
|
// External declaration for the reset handler that is to be called when the
|
||||||
|
@ -55,7 +55,7 @@ extern uint32_t __STACK_TOP;
|
||||||
//
|
//
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
// To be added by user
|
// To be added by user
|
||||||
|
void UART1_Handler(void);
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
//
|
//
|
||||||
// The vector table. Note that the proper constructs must be placed on this to
|
// The vector table. Note that the proper constructs must be placed on this to
|
||||||
|
@ -89,7 +89,7 @@ void (* const g_pfnVectors[])(void) =
|
||||||
IntDefaultHandler, // GPIO Port D
|
IntDefaultHandler, // GPIO Port D
|
||||||
IntDefaultHandler, // GPIO Port E
|
IntDefaultHandler, // GPIO Port E
|
||||||
IntDefaultHandler, // UART0 Rx and Tx
|
IntDefaultHandler, // UART0 Rx and Tx
|
||||||
IntDefaultHandler, // UART1 Rx and Tx
|
UART1_Handler, // UART1 Rx and Tx
|
||||||
IntDefaultHandler, // SSI0 Rx and Tx
|
IntDefaultHandler, // SSI0 Rx and Tx
|
||||||
IntDefaultHandler, // I2C0 Master and Slave
|
IntDefaultHandler, // I2C0 Master and Slave
|
||||||
IntDefaultHandler, // PWM Fault
|
IntDefaultHandler, // PWM Fault
|
||||||
|
|
Loading…
Reference in New Issue