84DerivedVars->Advance = (unsigned short)(tempAdvance / 1024); // This calculation will change when the timing tables get shrunk to a more reasonable 8 bit size with appropriate scaling
85// Move this magic number to an appropriate place and/or refactor timing calcs/values/etc
86
87/// @todo TODO make generic!!!!
88// to go generic we need:
89// angle between ignition events (if have tpd) (or total angle and number of events)
90// max % dwell
91// minimum spark time
92// a setting to choose which behaviour (don't limit/% dwell limit/min spark time/other?)
93#if CONFIG == HOTEL_ID
94 /// @bug hack for hyundai! 135 = 3/4 of 180 = one cycle...