fome-fw/firmware/controllers/trigger
Scott Smith 5bd7d8e372 Don't keep a separate MultiChannelStateSequence for the trigger emulator, version 2. (#3517)
All it wants is to use the main trigger state, so don't bother copying it.  Instead, change
PwmConfig to take a const pointer to a Multi.*Sequence, then make all the users adapt.  Worse
fallout is that SimplePwm now has its own Multi.*Sequence, but PwmConfig is downgraded to a
pointer, so that's only a net +4 bytes.  And we can make the overhead of Multi.*Sequence much lower
using embedded arrays, which only the caller can do since it knows the maximum size... (for another
day...)

Also remove SimplePwm's 2nd copy of SingleChannelStateSequence.  It served no purpose.

Saves 1992 bytes of BSS and 24 bytes of RAM4 (latter probably due to SimplePwm change)
2021-11-10 07:01:20 -05:00
..
decoders Don't keep a separate MultiChannelStateSequence for the trigger emulator, version 2. (#3517) 2021-11-10 07:01:20 -05:00
trigger.mk https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 11:25:27 -04:00
trigger_central.cpp refactoring - magic constant bad 2021-11-07 00:09:17 -04:00
trigger_central.h extract engine phase function (#3456) 2021-11-04 05:46:16 -04:00
trigger_central.txt triggerinfo progress 2021-10-23 19:01:31 -04:00
trigger_central_generated.h Auto-generated configs and docs 2021-10-23 23:05:27 +00:00
trigger_decoder.cpp Don't keep a separate MultiChannelStateSequence for the trigger emulator, version 2. (#3517) 2021-11-10 07:01:20 -05:00
trigger_decoder.h Save ~2800 bytes of RAM by not caching angle->trigger mapping (#3506) 2021-11-09 07:03:27 -05:00
trigger_emulator_algo.cpp Don't keep a separate MultiChannelStateSequence for the trigger emulator, version 2. (#3517) 2021-11-10 07:01:20 -05:00
trigger_emulator_algo.h
trigger_simulator.cpp
trigger_simulator.h
trigger_state.txt better file locations 2021-10-16 20:17:01 -04:00
trigger_state_generated.h Auto-generated configs and docs 2021-10-17 01:13:47 +00:00