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;