Skip to content
Snippets Groups Projects
Commit e25f56c2 authored by schneider's avatar schneider
Browse files

chore(mp-ble): remove dead code

parent 6ff37ded
No related branches found
No related tags found
1 merge request!446Initial MicroPython BLE support (GATTS)
...@@ -534,13 +534,6 @@ int mp_bluetooth_gatts_read( ...@@ -534,13 +534,6 @@ int mp_bluetooth_gatts_read(
return mp_bluetooth_gatts_db_read( return mp_bluetooth_gatts_db_read(
GATTS_DB, value_handle, value, value_len GATTS_DB, value_handle, value, value_len
); );
#if 0
uint16_t pLen;
uint8_t ret = AttsGetAttr(value_handle, &pLen, value);
*value_len = pLen;
return ret;
#endif
} }
// Write a value to the local gatts db (ready to be queried by a central). // Write a value to the local gatts db (ready to be queried by a central).
int mp_bluetooth_gatts_write( int mp_bluetooth_gatts_write(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment