Global: code refactor

This commit is contained in:
李通洲
2023-08-31 13:54:46 +08:00
parent 76fce2c5a9
commit 639ad436a0
9 changed files with 16 additions and 16 deletions
+1 -2
View File
@@ -136,8 +136,7 @@ void ffGenerateBluetoothJson(FF_MAYBE_UNUSED FFBluetoothOptions* options, yyjson
}
else
{
yyjson_mut_val* arr = yyjson_mut_arr(doc);
yyjson_mut_obj_add_val(doc, module, "result", arr);
yyjson_mut_val* arr = yyjson_mut_obj_add_arr(doc, module, "result");
FF_LIST_FOR_EACH(FFBluetoothResult, item, results)
{