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

View File

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