IAR does not exist for us
This commit is contained in:
parent
500e4f7cf8
commit
b85ce91479
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue