mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Bluetooth (Haiku): suppress debug output of system API
This commit is contained in:
parent
716f0a3bbb
commit
24e94acbb9
@ -1,5 +1,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#include "bluetooth.h"
|
#include "bluetooth.h"
|
||||||
|
#include "common/io/io.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <bluetooth/LocalDevice.h>
|
#include <bluetooth/LocalDevice.h>
|
||||||
@ -7,6 +8,8 @@ extern "C" {
|
|||||||
const char* ffDetectBluetooth(FF_MAYBE_UNUSED FFBluetoothOptions* options, FFlist* devices /* FFBluetoothResult */)
|
const char* ffDetectBluetooth(FF_MAYBE_UNUSED FFBluetoothOptions* options, FFlist* devices /* FFBluetoothResult */)
|
||||||
{
|
{
|
||||||
using namespace Bluetooth;
|
using namespace Bluetooth;
|
||||||
|
FF_SUPPRESS_IO();
|
||||||
|
|
||||||
LocalDevice* dev = LocalDevice::GetLocalDevice();
|
LocalDevice* dev = LocalDevice::GetLocalDevice();
|
||||||
if (!dev) return NULL;
|
if (!dev) return NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user