disk: sdhc: Remove logging variable when not needed
Remove logging helper variable `trace_dir` from device configuration data when it is not needed. Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
This commit is contained in:
parent
af0e2c5df9
commit
ff37217117
1 changed files with 2 additions and 0 deletions
|
@ -31,7 +31,9 @@ struct sdhc_spi_data {
|
||||||
|
|
||||||
u32_t sector_count;
|
u32_t sector_count;
|
||||||
u8_t status;
|
u8_t status;
|
||||||
|
#if LOG_LEVEL >= LOG_LEVEL_DBG
|
||||||
int trace_dir;
|
int trace_dir;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
DEVICE_DECLARE(sdhc_spi_0);
|
DEVICE_DECLARE(sdhc_spi_0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue