This commit is contained in:
rusefillc 2022-04-15 22:56:23 -04:00
parent 68e222d78c
commit f5b0094ed3
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@
class EngineModule {
public:
// Called when the engine_configuration_s part of the tune has changed.
// Called when 'Burn' is invoked
virtual void onConfigurationChange(engine_configuration_s const * /*previousConfig*/) { }
// Called approx 20Hz

View File

@ -49,6 +49,13 @@
! type name;comment
!
!
!
! Q: what's the difference between 'engineConfiguration' and rest of the 'persistent_config_s'?
! A: 'engineConfiguration' portion has 'activeConfiguration' copy so that we can detect changes
! todo: move all curves and tables out of engineConfiguration that would make 'activeConfiguration' smaller and we might save a couple of K of ram
!
!
!
! Q: What is "@OFFSET@"?
! A: That's a template placeholder for field offset within the resulting data structure.
!