We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!