From 6e89bc0721442699d276e4b7d61fc9c046f421d1 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 21 Aug 2019 16:28:03 +0200 Subject: [PATCH] mesh: fix mesh_foundation_gatt_proxy_get --- src/mesh/mesh_foundation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/mesh_foundation.c b/src/mesh/mesh_foundation.c index ebe24c85f..2b7707572 100644 --- a/src/mesh/mesh_foundation.c +++ b/src/mesh/mesh_foundation.c @@ -59,7 +59,7 @@ void mesh_foundation_gatt_proxy_set(uint8_t value){ printf("MESH: GATT PROXY %x\n", mesh_foundation_gatt_proxy); } uint8_t mesh_foundation_gatt_proxy_get(void){ -#ifdef ENABLE_MESH_GATT_PROXY +#ifdef ENABLE_MESH_PROXY_SERVER return mesh_foundation_gatt_proxy; #else return MESH_FOUNDATION_STATE_NOT_SUPPORTED;