Global: overall optimization

This commit is contained in:
李通洲
2024-10-25 14:48:11 +08:00
parent 6dc6fd8b24
commit fd26373c8f
21 changed files with 126 additions and 131 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ void ffPrintBluetooth(FFBluetoothOptions* options)
for(uint32_t i = 0; i < filtered.length; i++)
{
uint8_t index = (uint8_t) (filtered.length == 1 ? 0 : i + 1);
printDevice(options, *(FFBluetoothResult**)ffListGet(&filtered, i), index);
printDevice(options, *FF_LIST_GET(FFBluetoothResult*, filtered, i), index);
}
}