From 07db1ed6874d96c08910275e6bc53ef745ab5933 Mon Sep 17 00:00:00 2001 From: Kano Date: Tue, 1 Jan 2013 00:29:17 +1100 Subject: [PATCH] BFL USB api.c usbstats --- api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.c b/api.c index 659d934a..1d29dbb9 100644 --- a/api.c +++ b/api.c @@ -3120,7 +3120,7 @@ static void usbstats(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __may { struct api_data *root = NULL; -#ifdef USE_MODMINER +#if defined(USE_MODMINER) || defined(USE_BITFORCE) char buf[TMPBUFSIZ]; bool io_open = false; int count = 0; @@ -3133,7 +3133,7 @@ static void usbstats(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __may return; } -#ifdef USE_MODMINER +#if defined(USE_MODMINER) || defined(USE_BITFORCE) message(io_data, MSG_USBSTA, 0, NULL, isjson);