Rename ISR -> Isr to avoid clash with AVR libc ISR #define
parent
1f7a84a623
commit
6af65bc4c8
|
|
@ -100,7 +100,7 @@ st_timer_t Motion::Step() {
|
|||
return next;
|
||||
}
|
||||
|
||||
void ISR() {}
|
||||
void Isr() {}
|
||||
|
||||
} // namespace motion
|
||||
} // namespace modules
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ private:
|
|||
};
|
||||
|
||||
/// ISR stepping routine
|
||||
extern void ISR();
|
||||
extern void Isr();
|
||||
|
||||
extern Motion motion;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Timebase timebase;
|
|||
void Timebase::Init() {
|
||||
}
|
||||
|
||||
void Timebase::ISR() {
|
||||
void Timebase::Isr() {
|
||||
}
|
||||
|
||||
uint16_t Timebase::Millis() const {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
private:
|
||||
uint16_t ms;
|
||||
static void ISR();
|
||||
static void Isr();
|
||||
};
|
||||
|
||||
/// The one and only instance of Selector in the FW
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ uint16_t millis = 0;
|
|||
|
||||
void Timebase::Init() {}
|
||||
|
||||
void Timebase::ISR() {}
|
||||
void Timebase::Isr() {}
|
||||
|
||||
uint16_t Timebase::Millis() const {
|
||||
return millis;
|
||||
|
|
|
|||
Loading…
Reference in New Issue