NSH library: Allow USB trace without a USB console
This commit is contained in:
parent
21159573b4
commit
7394517bab
|
@ -46,6 +46,9 @@
|
|||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
#define SAM_PWM_NCHANNELS 4 /* Four channels numbered 0..3 */
|
||||
|
||||
/* PWM Register Offsets *************************************************************/
|
||||
|
||||
#define SAM_PWM_CLK_OFFSET 0x0000 /* PWM Clock Register */
|
||||
|
|
|
@ -310,7 +310,7 @@ static int do_composite_archinitialize(void)
|
|||
|
||||
int composite_archinitialize(void)
|
||||
{
|
||||
#if defined(CONFIG_NSH_ARCHINIT)
|
||||
#if defined(CONFIG_NSH_ARCHINIT) && defined(CONFIG_NSH_BUILTIN_APPS)
|
||||
return OK;
|
||||
#else
|
||||
return do_composite_archinitialize();
|
||||
|
|
Loading…
Reference in New Issue