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;
|
return next;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ISR() {}
|
void Isr() {}
|
||||||
|
|
||||||
} // namespace motion
|
} // namespace motion
|
||||||
} // namespace modules
|
} // namespace modules
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
/// ISR stepping routine
|
/// ISR stepping routine
|
||||||
extern void ISR();
|
extern void Isr();
|
||||||
|
|
||||||
extern Motion motion;
|
extern Motion motion;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Timebase timebase;
|
||||||
void Timebase::Init() {
|
void Timebase::Init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Timebase::ISR() {
|
void Timebase::Isr() {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t Timebase::Millis() const {
|
uint16_t Timebase::Millis() const {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint16_t ms;
|
uint16_t ms;
|
||||||
static void ISR();
|
static void Isr();
|
||||||
};
|
};
|
||||||
|
|
||||||
/// The one and only instance of Selector in the FW
|
/// The one and only instance of Selector in the FW
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ uint16_t millis = 0;
|
||||||
|
|
||||||
void Timebase::Init() {}
|
void Timebase::Init() {}
|
||||||
|
|
||||||
void Timebase::ISR() {}
|
void Timebase::Isr() {}
|
||||||
|
|
||||||
uint16_t Timebase::Millis() const {
|
uint16_t Timebase::Millis() const {
|
||||||
return millis;
|
return millis;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue