un-generate (#1228)

This commit is contained in:
Matthew Kennedy 2020-03-26 08:52:19 -07:00 committed by GitHub
parent b21a4bc16e
commit 9385e9fc8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 18 deletions

View File

@ -155,3 +155,10 @@ public:
private: private:
void setPumpsCounter(int newValue); void setPumpsCounter(int newValue);
}; };
struct multispark_state
{
efitick_t delay;
efitick_t dwell;
uint8_t count;
};

View File

@ -90,5 +90,5 @@ public:
MockAdcState mockAdcState; MockAdcState mockAdcState;
#endif /* EFI_ENABLE_MOCK_ADC */ #endif /* EFI_ENABLE_MOCK_ADC */
multispark_state multispark;
}; };

View File

@ -248,13 +248,6 @@ struct running_fuel_s {
typedef struct running_fuel_s running_fuel_s; typedef struct running_fuel_s running_fuel_s;
struct multispark_state_s
{
efitick_t delay;
efitick_t dwell;
uint8_t count;
};
// start of engine_state2_s // start of engine_state2_s
struct engine_state2_s { struct engine_state2_s {
/** /**
@ -431,8 +424,6 @@ struct engine_state2_s {
*/ */
angle_t cltTimingCorrection = (angle_t)0; angle_t cltTimingCorrection = (angle_t)0;
// TODO: generate me
multispark_state_s multispark;
/** total size 164*/ /** total size 164*/
}; };

View File

@ -106,13 +106,5 @@ percent_t etbFeedForward;
angle_t dwellAngle;ignition dwell duration as crankshaft angle\nNAN if engine is stopped\nSee also sparkDwell angle_t dwellAngle;ignition dwell duration as crankshaft angle\nNAN if engine is stopped\nSee also sparkDwell
angle_t cltTimingCorrection angle_t cltTimingCorrection
struct multispark_state_s
efitick_t delay
efitick_t dwell
uint8_t count
end_struct
multispark_state_s multispark
! engine_state2_s ! engine_state2_s
end_struct end_struct