diff --git a/src/lindbergh/config.c b/src/lindbergh/config.c index 92abc40..a3656e3 100644 --- a/src/lindbergh/config.c +++ b/src/lindbergh/config.c @@ -763,7 +763,7 @@ int readConfig(FILE *configFile, EmulatorConfig *config) strcpy(config->eepromPath, getNextToken(NULL, " ", &saveptr)); else if (strcmp(command, "SRAM_PATH") == 0) - strcpy(config->eepromPath, getNextToken(NULL, " ", &saveptr)); + strcpy(config->sramPath, getNextToken(NULL, " ", &saveptr)); else if (strcmp(command, "EMULATE_RIDEBOARD") == 0) config->emulateRideboard = atoi(getNextToken(NULL, " ", &saveptr));