From 24e94acbb9fca08466cbd4739c1bd2cb05fc1eae Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sun, 16 Feb 2025 21:39:34 +0800 Subject: [PATCH] Bluetooth (Haiku): suppress debug output of system API --- src/detection/bluetooth/bluetooth_haiku.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detection/bluetooth/bluetooth_haiku.cpp b/src/detection/bluetooth/bluetooth_haiku.cpp index ed24521d5..89ae13624 100644 --- a/src/detection/bluetooth/bluetooth_haiku.cpp +++ b/src/detection/bluetooth/bluetooth_haiku.cpp @@ -1,5 +1,6 @@ extern "C" { #include "bluetooth.h" +#include "common/io/io.h" } #include @@ -7,6 +8,8 @@ extern "C" { const char* ffDetectBluetooth(FF_MAYBE_UNUSED FFBluetoothOptions* options, FFlist* devices /* FFBluetoothResult */) { using namespace Bluetooth; + FF_SUPPRESS_IO(); + LocalDevice* dev = LocalDevice::GetLocalDevice(); if (!dev) return NULL;