Compiling for Interrupt

master
Kerem Yollu 2 years ago
parent 7aa6c00004
commit 157d3f61ad

@ -67,7 +67,7 @@ typedef enum {
intTypeEND intTypeEND
}intrType_t; }intrType_t;
uint32_t intHandlerList[intTypeEND]={0}; static uint32_t intHandlerList[intTypeEND]={0};
static const uint8_t interruptTypeIndexList[intTypeEND] = static const uint8_t interruptTypeIndexList[intTypeEND] =
{ {

@ -226,7 +226,7 @@ void timerSetPs(timerNo_t timer, uint16_t ps)
} }
void timerSart(timerNo_t timer) void timerStart(timerNo_t timer)
{ {
timerEnable(timer); timerEnable(timer);
} }

@ -207,7 +207,7 @@ void timerSetPs(timerNo_t timer, uint16_t ps);
* @brief Enables the timer * @brief Enables the timer
* @param timer The desired timer number * @param timer The desired timer number
*/ */
void timerSart(timerNo_t timer); void timerStart(timerNo_t timer);
/*! /*!
* @brief Disables the timer * @brief Disables the timer

Loading…
Cancel
Save