aboutsummaryrefslogtreecommitdiff
path: root/ports/cc3200/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/cc3200/main.c')
-rw-r--r--ports/cc3200/main.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/ports/cc3200/main.c b/ports/cc3200/main.c
index e2299e146..803bbee0e 100644
--- a/ports/cc3200/main.c
+++ b/ports/cc3200/main.c
@@ -58,7 +58,7 @@ static StackType_t uxIdleTaskStack[configMINIMAL_STACK_SIZE] __attribute__ ((sec
DECLARE PUBLIC DATA
******************************************************************************/
#ifdef DEBUG
-OsiTaskHandle mpTaskHandle;
+OsiTaskHandle mpTaskHandle;
#endif
// This is the FreeRTOS heap, defined here so we can put it in a special segment
@@ -78,30 +78,31 @@ int main (void) {
// Initialize the clocks and the interrupt system
HAL_SystemInit();
-#if MICROPY_HW_ANTENNA_DIVERSITY
+ #if MICROPY_HW_ANTENNA_DIVERSITY
// configure the antenna selection pins
antenna_init0();
-#endif
+ #endif
// Init the watchdog
pybwdt_init0();
-#ifndef DEBUG
+ #ifndef DEBUG
OsiTaskHandle mpTaskHandle;
-#endif
+ #endif
mpTaskHandle = xTaskCreateStatic(TASK_MicroPython, "MicroPy",
MICROPY_TASK_STACK_LEN, NULL, MICROPY_TASK_PRIORITY, mpTaskStack, &mpTaskTCB);
ASSERT(mpTaskHandle != NULL);
osi_start();
- for ( ; ; );
+ for ( ; ;) {;
+ }
}
// We need this when configSUPPORT_STATIC_ALLOCATION is enabled
void vApplicationGetIdleTaskMemory( StaticTask_t **ppxIdleTaskTCBBuffer,
- StackType_t **ppxIdleTaskStackBuffer,
- uint32_t *pulIdleTaskStackSize ) {
+ StackType_t **ppxIdleTaskStackBuffer,
+ uint32_t *pulIdleTaskStackSize ) {
*ppxIdleTaskTCBBuffer = &xIdleTaskTCB;
*ppxIdleTaskStackBuffer = uxIdleTaskStack;
*pulIdleTaskStackSize = configMINIMAL_STACK_SIZE;