1
0
forked from me/IronOS

Squash compiler warnings and keep translation file up to date

This commit is contained in:
Ben V. Brown
2019-12-23 15:10:47 +11:00
parent 720f81a0f5
commit 668e2c0ec0
4 changed files with 4117 additions and 4117 deletions

View File

@@ -710,7 +710,7 @@ void startGUITask(void const *argument __unused) {
gui_solderingMode(1); gui_solderingMode(1);
} }
#if ACCELDEBUG #ifdef ACCELDEBUG
for (;;) { for (;;) {
HAL_IWDG_Refresh(&hiwdg); HAL_IWDG_Refresh(&hiwdg);

File diff suppressed because it is too large Load Diff

View File

@@ -229,7 +229,7 @@ void startMOVTask(void const *argument __unused) {
int32_t avgx = 0, avgy = 0, avgz = 0; int32_t avgx = 0, avgy = 0, avgz = 0;
if (systemSettings.sensitivity > 9) if (systemSettings.sensitivity > 9)
systemSettings.sensitivity = 9; systemSettings.sensitivity = 9;
#if ACCELDEBUG #ifdef ACCELDEBUG
uint32_t max = 0; uint32_t max = 0;
#endif #endif
Orientation rotation = ORIENTATION_FLAT; Orientation rotation = ORIENTATION_FLAT;

View File

@@ -26,7 +26,7 @@
* *
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* *
* Portions Copyright <20> 2016 STMicroelectronics International N.V. All rights reserved. * Portions Copyright <20> 2016 STMicroelectronics International N.V. All rights reserved.
* Portions Copyright (c) 2013 ARM LIMITED * Portions Copyright (c) 2013 ARM LIMITED
* All rights reserved. * All rights reserved.
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -462,7 +462,7 @@ const osThreadDef_t os_thread_def_##name = \
#define osThreadStaticDef(name, thread, priority, instances, stacksz, buffer, control) \ #define osThreadStaticDef(name, thread, priority, instances, stacksz, buffer, control) \
const osThreadDef_t os_thread_def_##name = \ const osThreadDef_t os_thread_def_##name = \
{ #name, (thread), (priority), (instances), (stacksz), (buffer), (control) } {(char*) #name, (thread), (priority), (instances), (stacksz), (buffer), (control) }
#else //configSUPPORT_STATIC_ALLOCATION == 0 #else //configSUPPORT_STATIC_ALLOCATION == 0
#define osThreadDef(name, thread, priority, instances, stacksz) \ #define osThreadDef(name, thread, priority, instances, stacksz) \