correct dependencies for central and peripheral

pull/9790/head
paul-szczepanek-arm 2019-02-22 17:10:53 +00:00 committed by Vincent Coubard
parent c3a72073be
commit a1815e31f0
1 changed files with 4 additions and 4 deletions

View File

@ -14,14 +14,14 @@
#endif
#if BLE_ROLE_PERIPHERAL
#if !(BLE_ROLE_OBSERVER)
#error "BLE role 'PERIPHERAL' depends on role 'OBSERVER'"
#if !(BLE_ROLE_BROADCASTER)
#error "BLE role 'PERIPHERAL' depends on role 'BROADCASTER'"
#endif
#endif // BLE_ROLE_PERIPHERAL
#if BLE_ROLE_CENTRAL
#if !(BLE_ROLE_BROADCASTER)
#error "BLE role 'CENTRAL' depends on role 'BROADCASTER'"
#if !(BLE_ROLE_OBSERVER)
#error "BLE role 'CENTRAL' depends on role 'OBSERVER'"
#endif
#endif // BLE_ROLE_CENTRAL