From f774afc5387887f4ce8067502412f5f64899632f Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 23 Nov 2017 13:51:14 +0900 Subject: libopna: make levelmeter and oscillo conditional --- libopna/opnafm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libopna/opnafm.h') diff --git a/libopna/opnafm.h b/libopna/opnafm.h index 1549041..51bf214 100644 --- a/libopna/opnafm.h +++ b/libopna/opnafm.h @@ -3,7 +3,9 @@ #include #include +#ifdef LIBOPNA_ENABLE_LEVELDATA #include "leveldata/leveldata.h" +#endif #ifdef __cplusplus extern "C" { @@ -69,8 +71,9 @@ struct opna_fm_channel { uint8_t fb; uint16_t fnum; uint8_t blk; - +#ifdef LIBOPNA_ENABLE_LEVELDATA struct leveldata leveldata; +#endif }; struct opna_fm { -- cgit v1.2.3