From d29ad95dfe79652be476be6b48615797fd4f7b70 Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 20 Dec 2020 14:11:19 -0700 Subject: [PATCH] Rename command line config macros for role disable. --- src/nimconfig.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nimconfig.h b/src/nimconfig.h index a90638f..4eb48b8 100644 --- a/src/nimconfig.h +++ b/src/nimconfig.h @@ -51,28 +51,28 @@ /** @brief Comment out if not using NimBLE Client functions \n * Reduces flash size by approx. 7kB. */ -#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL +#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED #define CONFIG_BT_NIMBLE_ROLE_CENTRAL #endif /** @brief Comment out if not using NimBLE Scan functions \n * Reduces flash size by approx. 26kB. */ -#ifndef CONFIG_BT_NIMBLE_ROLE_OBSERVER +#ifndef CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED #define CONFIG_BT_NIMBLE_ROLE_OBSERVER #endif /** @brief Comment out if not using NimBLE Server functions \n * Reduces flash size by approx. 16kB. */ -#ifndef CONFIG_BT_NIMBLE_ROLE_PERIPHERAL +#ifndef CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED #define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL #endif /** @brief Comment out if not using NimBLE Advertising functions \n * Reduces flash size by approx. 5kB. */ -#ifndef CONFIG_BT_NIMBLE_ROLE_BROADCASTER +#ifndef CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED #define CONFIG_BT_NIMBLE_ROLE_BROADCASTER #endif