d/ht: move DEBUG_GET_ONCE_LOG_OPTION to ht_driver.cpp (NFC)

Fixes an annoying warning.
This commit is contained in:
Moses Turner 2021-11-08 08:08:30 -06:00
parent 49d2d81940
commit c1d4314aad
2 changed files with 1 additions and 2 deletions

View file

@ -64,6 +64,7 @@
#include <exception>
#include <algorithm>
DEBUG_GET_ONCE_LOG_OPTION(ht_log, "HT_LOG", U_LOGGING_WARN)
/*!
* Setup helper functions.

View file

@ -43,8 +43,6 @@
using namespace xrt::auxiliary::util;
DEBUG_GET_ONCE_LOG_OPTION(ht_log, "HT_LOG", U_LOGGING_WARN)
#define HT_TRACE(htd, ...) U_LOG_XDEV_IFL_T(&htd->base, htd->ll, __VA_ARGS__)
#define HT_DEBUG(htd, ...) U_LOG_XDEV_IFL_D(&htd->base, htd->ll, __VA_ARGS__)
#define HT_INFO(htd, ...) U_LOG_XDEV_IFL_I(&htd->base, htd->ll, __VA_ARGS__)