IAR does not exist for us

This commit is contained in:
rusefillc 2023-08-30 22:40:31 -04:00
parent 500e4f7cf8
commit b85ce91479
2 changed files with 0 additions and 13 deletions

View File

@ -11,13 +11,7 @@
#include <stdbool.h>
#include <float.h>
#include <stdint.h>
#if defined __GNUC__
// GCC
#include <sys/types.h>
#else
// IAR
using time_t = uint32_t;
#endif
#include <rusefi/rusefi_time_types.h>
#include "rusefi_generated.h"

View File

@ -20,14 +20,7 @@
// for US_TO_NT_MULTIPLIER
#include "mpu_util.h"
// this is about MISRA not liking 'time.h'. todo: figure out something
#if defined __GNUC__
// GCC
#include <sys/types.h>
#else
// IAR
typedef unsigned int time_t;
#endif
#ifdef __cplusplus
#include "eficonsole.h"