mirror of https://github.com/rusefi/bldc.git
Merge pull request #734 from TechAUmNu/fix_double_pulse
Free mcconf after double pulse test
This commit is contained in:
commit
5dde8f3dfe
|
@ -476,6 +476,7 @@ static void terminal_cmd_doublepulse(int argc, const char** argv)
|
|||
break;
|
||||
}
|
||||
commands_printf("Done");
|
||||
mempools_free_mcconf(mcconf);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -454,5 +454,6 @@ static void terminal_cmd_doublepulse(int argc, const char** argv)
|
|||
break;
|
||||
}
|
||||
commands_printf("Done");
|
||||
mempools_free_mcconf(mcconf);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -483,5 +483,6 @@ static void terminal_cmd_doublepulse(int argc, const char** argv)
|
|||
break;
|
||||
}
|
||||
commands_printf("Done");
|
||||
mempools_free_mcconf(mcconf);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -552,5 +552,6 @@ static void terminal_cmd_doublepulse(int argc, const char** argv)
|
|||
break;
|
||||
}
|
||||
commands_printf("Done");
|
||||
mempools_free_mcconf(mcconf);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue