[Taranis] Cosmetics

This commit is contained in:
bsongis@gmail.com
2013-05-08 05:25:58 +00:00
parent 21a85244b0
commit 4b7c16fc9f
2 changed files with 4 additions and 12 deletions
+2 -11
View File
@@ -57,12 +57,7 @@ OS_TID btTaskId;
OS_STK btStack[BT_STACK_SIZE];
#endif
#if defined(PCBTARANIS) && defined(DEBUG)
OS_TID debugTaskId;
OS_STK debugStack[DEBUG_STACK_SIZE];
#endif
#if defined(PCBSKY9X) && defined(DEBUG)
#if defined(CPUARM) && defined(DEBUG)
OS_TID debugTaskId;
OS_STK debugStack[DEBUG_STACK_SIZE];
#endif
@@ -4360,11 +4355,7 @@ int main(void)
CoInitOS();
#if defined(PCBSKY9X) && defined(DEBUG)
debugTaskId = CoCreateTaskEx(debugTask, NULL, 10, &debugStack[DEBUG_STACK_SIZE-1], DEBUG_STACK_SIZE, 1, false);
#endif
#if defined(PCBTARANIS) && defined(DEBUG)
#if defined(CPUARM) && defined(DEBUG)
debugTaskId = CoCreateTaskEx(debugTask, NULL, 10, &debugStack[DEBUG_STACK_SIZE-1], DEBUG_STACK_SIZE, 1, false);
#endif
+2 -1
View File
@@ -148,11 +148,12 @@ void setupPulsesPXX(unsigned int port)
PcmCrc[port] = 0;
PcmOnesCount[port] = 0;
/* preamble */
/* Preamble */
putPcmPart(0, port);
putPcmPart(0, port);
putPcmPart(0, port);
putPcmPart(0, port);
/* Sync */
putPcmHead(port);