fix isr footprint
This commit is contained in:
parent
9539c369f3
commit
a90a122974
@ -5,7 +5,7 @@
|
||||
* Author: wn
|
||||
*/
|
||||
#include <msp430g2553.h>
|
||||
#include <signal.h>
|
||||
#include <isr_compat.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "engine.h"
|
||||
@ -23,7 +23,7 @@ volatile uint32_t offTime = 0;
|
||||
volatile uint32_t millis = 0;
|
||||
const uint32_t DIVIDER_MILLIS = 20;
|
||||
|
||||
interrupt (TIMER0_A0_VECTOR) timer0a0_isr(void) {
|
||||
ISR(TIMER0_A0, timer0a0_isr) {
|
||||
static uint8_t state = 0;
|
||||
static uint32_t timestamp = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user