fixing build - simulator

This commit is contained in:
rusefi 2019-03-30 18:04:22 -04:00
parent f1ec34f032
commit 24ed35ac9c
1 changed files with 2 additions and 0 deletions

View File

@ -221,7 +221,9 @@ float atoff(const char *param) {
strcpy(todofixthismesswithcopy, param);
char *string = todofixthismesswithcopy;
if (indexOf(string, 'n') != -1 || indexOf(string, 'N') != -1) {
#if ! EFI_SIMULATOR
print("NAN from [%s]\r\n", string);
#endif
return (float) NAN;
}