Fix some IGN/INJ copy/paste errors

This commit is contained in:
Josh Stewart 2019-10-22 10:42:20 +11:00
parent 8d2ba9278b
commit 938501b88f
2 changed files with 10 additions and 10 deletions

View File

@ -153,13 +153,13 @@ void initialiseAll()
endCoil3Charge();
endCoil4Charge();
endCoil5Charge();
#if (INJ_CHANNELS >= 6)
#if (IGN_CHANNELS >= 6)
endCoil6Charge();
#endif
#if (INJ_CHANNELS >= 7)
#if (IGN_CHANNELS >= 7)
endCoil7Charge();
#endif
#if (INJ_CHANNELS >= 8)
#if (IGN_CHANNELS >= 8)
endCoil8Charge();
#endif
@ -169,13 +169,13 @@ void initialiseAll()
closeInjector3();
closeInjector4();
closeInjector5();
#if (IGN_CHANNELS >= 6)
#if (INJ_CHANNELS >= 6)
closeInjector6();
#endif
#if (IGN_CHANNELS >= 7)
#if (INJ_CHANNELS >= 7)
closeInjector7();
#endif
#if (IGN_CHANNELS >= 8)
#if (INJ_CHANNELS >= 8)
closeInjector8();
#endif

View File

@ -87,19 +87,19 @@ void initialiseSchedulers()
ignitionSchedule3.compare = &IGN3_COMPARE;
ignitionSchedule4.counter = &IGN4_COUNTER;
ignitionSchedule4.compare = &IGN4_COMPARE;
#if (INJ_CHANNELS >= 5)
#if (IGN_CHANNELS >= 5)
ignitionSchedule5.counter = &IGN5_COUNTER;
ignitionSchedule5.compare = &IGN5_COMPARE;
#endif
#if (INJ_CHANNELS >= 6)
#if (IGN_CHANNELS >= 6)
ignitionSchedule6.counter = &IGN6_COUNTER;
ignitionSchedule6.compare = &IGN6_COMPARE;
#endif
#if (INJ_CHANNELS >= 7)
#if (IGN_CHANNELS >= 7)
ignitionSchedule7.counter = &IGN7_COUNTER;
ignitionSchedule7.compare = &IGN7_COMPARE;
#endif
#if (INJ_CHANNELS >= 8)
#if (IGN_CHANNELS >= 8)
ignitionSchedule8.counter = &IGN8_COUNTER;
ignitionSchedule8.compare = &IGN8_COMPARE;
#endif