abc
Fork of BLE_API by
Diff: public/Gap.h
- Revision:
- 414:4d5fb1522cfb
- Parent:
- 413:7a295e110b77
diff -r 7a295e110b77 -r 4d5fb1522cfb public/Gap.h --- a/public/Gap.h Mon Jun 08 10:41:18 2015 +0100 +++ b/public/Gap.h Mon Jun 08 10:41:18 2015 +0100 @@ -62,10 +62,10 @@ }; /* Describes the current state of the device (more than one bit can be set) */ - typedef struct GapState_s { + struct GapState_t { unsigned advertising : 1; /**< peripheral is currently advertising */ unsigned connected : 1; /**< peripheral is connected to a central */ - } GapState_t; + }; typedef uint16_t Handle_t;