Hi,
My code:
#ifndef __LPC_TYPES_H #define __LPC_TYPES_H
#include <stdint.h>
(49) typedef enum {FALSE = 0, TRUE = !FALSE} Bool;
typedef enum {RESET = 0, SET = !RESET} FlagStatus, IntStatus, SetState; #define PARAM_SETSTATE(State) ((State==RESET) || (State==SET))
I'm getting the below mentioned error:
lpc_types.h(49): error: #40: expected an identifier.
Please Help!