safe pre-merge, reducing chibios3 PR

This commit is contained in:
rusefi 2017-03-30 08:59:38 -04:00
parent 60b7a67beb
commit 3baea19867
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ TriggerShape::TriggerShape() :
void TriggerShape::calculateTriggerSynchPoint(TriggerState *state DECLARE_ENGINE_PARAMETER_S) {
#if EFI_PROD_CODE || defined(__DOXYGEN__)
efiAssertVoid(getRemainingStack(chThdSelf()) > 256, "calc s");
efiAssertVoid(getRemainingStack(chThdGetSelfX()) > 256, "calc s");
#endif
trigger_config_s const*triggerConfig = &engineConfiguration->trigger;