Rename ISR -> Isr to avoid clash with AVR libc ISR #define

pull/71/head
D.R.racer 2021-07-26 08:50:38 +02:00 committed by DRracer
parent 1f7a84a623
commit 6af65bc4c8
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -203,7 +203,7 @@ private:
}; };
/// ISR stepping routine /// ISR stepping routine
extern void ISR(); extern void Isr();
extern Motion motion; extern Motion motion;

View File

@ -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 {

View File

@ -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

View File

@ -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;