more migration

This commit is contained in:
hathach committed 2017-10-05 18:13:34 +07:00
1 parent e341f51e22
commit 0334a7f02b
1 file changed
+5 -1
+5 -1
View File
@@ -151,7 +151,11 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
if (rd_rsp->count)
{
_adamsg.feed(rd_rsp->handle_value[0].p_value, rd_rsp->value_len);
#if SD_VER < 500
_adamsg.feed(rd_rsp->handle_value[0].p_value, rd_rsp->value_len);
#else
_adamsg.feed(rd_rsp->handle_value, rd_rsp->value_len);
#endif
_adamsg.complete();
}
}