High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 413:4d5fb1522cfb, committed 2015-06-08
- Comitter:
- rgrover1
- Date:
- Mon Jun 08 10:41:18 2015 +0100
- Parent:
- 412:7a295e110b77
- Child:
- 414:e8dd7afc1ebf
- Commit message:
- Synchronized with git rev 6a7c543d
Author: Rohit Grover
simplify declaration of GapState_t
Changed in this revision
public/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;