From 6c5075bc99ba07f46562f7f10db14e153d7a93ec Mon Sep 17 00:00:00 2001 From: jhansen Date: Mon, 26 Apr 2010 21:49:44 +0000 Subject: git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@6 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/BtTest.inc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'AT91SAM7S256/Source/BtTest.inc') diff --git a/AT91SAM7S256/Source/BtTest.inc b/AT91SAM7S256/Source/BtTest.inc index 31d9373..ff0de90 100644 --- a/AT91SAM7S256/Source/BtTest.inc +++ b/AT91SAM7S256/Source/BtTest.inc @@ -4,6 +4,7 @@ #include "Test2.txt" //#define TESTPRG // If defined the test program will be included + extern void BtIo(void); const char BUILD_DATE[] = __DATE__; @@ -19,11 +20,11 @@ void GetProtocolVersion(UBYTE *String) if (Tmp < 100) { - sprintf((char*)String,"FW %3u.%02u",(FIRMWAREVERSION >> 8) & 0x00FF,Tmp & 0x00FF); + sprintf((char*)String,"FW NBC/NXC %2u.%02u",(FIRMWAREVERSION >> 8) & 0x00FF,Tmp & 0x00FF); } else { - sprintf((char*)String,"FW Hex %2X.%02X",(FIRMWAREVERSION >> 8) & 0x00FF,Tmp & 0x00FF); + sprintf((char*)String,"FW NBC/NXC %2X.%02X",(FIRMWAREVERSION >> 8) & 0x00FF,Tmp & 0x00FF); } } @@ -96,6 +97,7 @@ enum TSTPRG { SYSTEM_INIT = 1, SYSTEM_UNLOCK_INIT, +#ifdef TESTPRG SYSTEM_UNLOCK, SYSTEM_PAGE, TIMER_INIT, @@ -143,9 +145,9 @@ enum TSTPRG TSTPRG_MOTOR_INIT, TSTPRG_MOTOR, TSTPRG_SKIP_MOTOR, - - TSTPRG_SKIP, - TSTPRG_WAIT +#endif + TSTPRG_SKIP//, +// TSTPRG_WAIT }; const UBYTE TXT_EMPTY[] = " "; -- cgit v1.2.3