NSH library: Allow USB trace without a USB console

This commit is contained in:
Gregory Nutt
2013-11-06 07:09:00 -06:00
parent 21159573b4
commit 7394517bab
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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 */
+1 -1
View File
@@ -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();