fix review comment
This commit is contained in:
parent
d0f7a9b2d8
commit
41aef2ff5b
|
@ -89,8 +89,8 @@ static void runCanGpioTest() {
|
||||||
static void writeSimulatorTune() {
|
static void writeSimulatorTune() {
|
||||||
FILE *ptr = fopen(SIMULATOR_TUNE_BIN_FILE_NAME, "wb");
|
FILE *ptr = fopen(SIMULATOR_TUNE_BIN_FILE_NAME, "wb");
|
||||||
if (ptr == nullptr) {
|
if (ptr == nullptr) {
|
||||||
printf("ERROR creating file: [%s]", SIMULATOR_TUNE_BIN_FILE_NAME);
|
printf("ERROR creating file: [%s]\n", SIMULATOR_TUNE_BIN_FILE_NAME);
|
||||||
printf("/nPlease check folder exists and is writeable.");
|
printf("Please check folder exists and is writeable.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fwrite(&persistentState.persistentConfiguration, 1, sizeof(persistentState.persistentConfiguration), ptr);
|
fwrite(&persistentState.persistentConfiguration, 1, sizeof(persistentState.persistentConfiguration), ptr);
|
||||||
|
|
Loading…
Reference in New Issue