Change CFG_TUSB_CONFIG_FILE mechanism to improve header file scanning
This commit is contained in:
@@ -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
|
||||||
* @{ */
|
* @{ */
|
||||||
|
Reference in New Issue
Block a user