fix #500
This commit is contained in:
parent
4ca9ba2e1c
commit
7cdea8932e
|
@ -12,6 +12,7 @@ current binaries are always available at http://rusefi.com/build_server/
|
|||
|
||||
| Release date | Revision | Details |
|
||||
| ------------ | --------- | ------- |
|
||||
| 11/26/2017 | r14789 | bugfix #500: set_rpn_expression command is broken |
|
||||
| 11/23/2017 | r14779 | bugfix #497: engine does not start with SD card |
|
||||
| 11/19/2017 | r14766 | improvement #496: console flasher to support older boards |
|
||||
| 11/19/2017 | r14760 | improvement #495: incomppatible change - larger settings area |
|
||||
|
|
|
@ -494,7 +494,7 @@ static void setFsioSetting(float humanIndexF, float value) {
|
|||
#endif
|
||||
}
|
||||
|
||||
static void setFsioExpression(const char *indexStr, const char *quotedLine, Engine *engine) {
|
||||
static void setFsioExpression(const char *indexStr, const char *quotedLine) {
|
||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||
int index = atoi(indexStr) - 1;
|
||||
if (index < 0 || index >= FSIO_COMMAND_COUNT) {
|
||||
|
@ -508,7 +508,7 @@ static void setFsioExpression(const char *indexStr, const char *quotedLine, Engi
|
|||
}
|
||||
|
||||
scheduleMsg(logger, "setting user out #%d to [%s]", index + 1, l);
|
||||
strcpy(engine->config->fsioFormulas[index], l);
|
||||
strcpy(config->fsioFormulas[index], l);
|
||||
// this would apply the changes
|
||||
applyFsioConfiguration(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
showFsioInfo();
|
||||
|
@ -579,7 +579,7 @@ void initFsioImpl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||
addConsoleActionSS("set_rpn_expression", (VoidCharPtrCharPtr) setFsioExpression);
|
||||
addConsoleActionSS("set_rpn_expression", setFsioExpression);
|
||||
addConsoleActionFF("set_fsio_setting", setFsioSetting);
|
||||
addConsoleAction("fsioinfo", showFsioInfo);
|
||||
addConsoleActionS("rpn_eval", (VoidCharPtr) rpnEval);
|
||||
|
|
|
@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 20171123;
|
||||
return 20171126;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by Version2Header
|
||||
// Thu Nov 23 17:43:17 EST 2017
|
||||
// Sun Nov 26 17:50:40 EST 2017
|
||||
#ifndef VCS_VERSION
|
||||
#define VCS_VERSION "14779"
|
||||
#define VCS_VERSION "14789"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue