mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Change CFG_TUSB_CONFIG_FILE mechanism to improve header file scanning
This commit is contained in:
parent
e41d9202b8
commit
788dcc200d
@ -110,11 +110,13 @@
|
|||||||
|
|
||||||
|
|
||||||
// Allow to use command line to change the config name/location
|
// Allow to use command line to change the config name/location
|
||||||
#ifndef CFG_TUSB_CONFIG_FILE
|
#ifdef CFG_TUSB_CONFIG_FILE
|
||||||
#define CFG_TUSB_CONFIG_FILE "tusb_config.h"
|
#include CFG_TUSB_CONFIG_FILE
|
||||||
|
#else
|
||||||
|
#include "tusb_config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include CFG_TUSB_CONFIG_FILE
|
|
||||||
|
|
||||||
/** \addtogroup group_configuration
|
/** \addtogroup group_configuration
|
||||||
* @{ */
|
* @{ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user