[Taranis] Cosmetics
This commit is contained in:
+2
-11
@@ -57,12 +57,7 @@ OS_TID btTaskId;
|
|||||||
OS_STK btStack[BT_STACK_SIZE];
|
OS_STK btStack[BT_STACK_SIZE];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PCBTARANIS) && defined(DEBUG)
|
#if defined(CPUARM) && defined(DEBUG)
|
||||||
OS_TID debugTaskId;
|
|
||||||
OS_STK debugStack[DEBUG_STACK_SIZE];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(PCBSKY9X) && defined(DEBUG)
|
|
||||||
OS_TID debugTaskId;
|
OS_TID debugTaskId;
|
||||||
OS_STK debugStack[DEBUG_STACK_SIZE];
|
OS_STK debugStack[DEBUG_STACK_SIZE];
|
||||||
#endif
|
#endif
|
||||||
@@ -4360,11 +4355,7 @@ int main(void)
|
|||||||
|
|
||||||
CoInitOS();
|
CoInitOS();
|
||||||
|
|
||||||
#if defined(PCBSKY9X) && defined(DEBUG)
|
#if defined(CPUARM) && defined(DEBUG)
|
||||||
debugTaskId = CoCreateTaskEx(debugTask, NULL, 10, &debugStack[DEBUG_STACK_SIZE-1], DEBUG_STACK_SIZE, 1, false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(PCBTARANIS) && defined(DEBUG)
|
|
||||||
debugTaskId = CoCreateTaskEx(debugTask, NULL, 10, &debugStack[DEBUG_STACK_SIZE-1], DEBUG_STACK_SIZE, 1, false);
|
debugTaskId = CoCreateTaskEx(debugTask, NULL, 10, &debugStack[DEBUG_STACK_SIZE-1], DEBUG_STACK_SIZE, 1, false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -148,11 +148,12 @@ void setupPulsesPXX(unsigned int port)
|
|||||||
PcmCrc[port] = 0;
|
PcmCrc[port] = 0;
|
||||||
PcmOnesCount[port] = 0;
|
PcmOnesCount[port] = 0;
|
||||||
|
|
||||||
/* preamble */
|
/* Preamble */
|
||||||
putPcmPart(0, port);
|
putPcmPart(0, port);
|
||||||
putPcmPart(0, port);
|
putPcmPart(0, port);
|
||||||
putPcmPart(0, port);
|
putPcmPart(0, port);
|
||||||
putPcmPart(0, port);
|
putPcmPart(0, port);
|
||||||
|
|
||||||
/* Sync */
|
/* Sync */
|
||||||
putPcmHead(port);
|
putPcmHead(port);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user