component/bt : Config for choose printf

1. add print or ets_print
2. as print format error, add -Wno-error=format
This commit is contained in:
Tian Hao
2016-11-22 18:19:55 +08:00
parent 595bd2e3c4
commit 190b6d629b
7 changed files with 132 additions and 114 deletions

View File

@@ -2703,7 +2703,7 @@ BOOLEAN gatt_update_auto_connect_dev (tGATT_IF gatt_if, BOOLEAN add, BD_ADDR bd_
/* Make sure app is registered */
if ((p_reg = gatt_get_regcb(gatt_if)) == NULL)
{
GATT_TRACE_ERROR("gatt_update_auto_connect_dev - gatt_if is not registered", gatt_if);
GATT_TRACE_ERROR("gatt_update_auto_connect_dev - gatt_if %d is not registered", gatt_if);
return(FALSE);
}