mesh: fix mesh_foundation_gatt_proxy_get

This commit is contained in:
Matthias Ringwald 2019-08-21 16:28:03 +02:00
parent f090cf2a09
commit 6e89bc0721

View File

@ -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;