From c0f1f1c7e3adbef4346807528b7b9d515118b059 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Tue, 17 Mar 2020 14:26:23 -0500 Subject: [PATCH] trivial: logitech-hidpp: decrease the verbosity of some debugging --- plugins/logitech-hidpp/fu-logitech-hidpp-bootloader-texas.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/logitech-hidpp/fu-logitech-hidpp-bootloader-texas.c b/plugins/logitech-hidpp/fu-logitech-hidpp-bootloader-texas.c index 1aeefbd3b..0ba4e5865 100644 --- a/plugins/logitech-hidpp/fu-logitech-hidpp-bootloader-texas.c +++ b/plugins/logitech-hidpp/fu-logitech-hidpp-bootloader-texas.c @@ -191,8 +191,10 @@ fu_logitech_hidpp_bootloader_texas_write_firmware (FuDevice *device, if ((payload->addr + 0x10) % 0x80 == 0 && req->cmd != FU_UNIFYING_BOOTLOADER_CMD_WRITE_SIGNATURE) { guint16 addr_start = payload->addr - (7 * 0x10); - g_debug ("addr flush @ 0x%04x for 0x%04x", - payload->addr, addr_start); + if (g_getenv ("FWUPD_LOGITECH_HIDPP") != NULL) { + g_debug ("addr flush @ 0x%04x for 0x%04x", + payload->addr, addr_start); + } if (!fu_logitech_hidpp_bootloader_texas_flash_ram_buffer (self, addr_start, error)) {