EXTERNC not needed here
This commit is contained in:
parent
0da36b32a9
commit
a030bbf216
|
@ -30,7 +30,7 @@
|
|||
/*
|
||||
* Stack debugging
|
||||
*/
|
||||
EXTERNC int getRemainingStack(thread_t *otp);
|
||||
int getRemainingStack(thread_t *otp);
|
||||
int CountFreeStackSpace(const void* wabase);
|
||||
|
||||
#define assertStackVoid(message, code, desiredAvailableStack) { if (getCurrentRemainingStack() < desiredAvailableStack) { firmwareError(code, "stack: %s", message); return; } }
|
||||
|
|
|
@ -161,7 +161,7 @@ extern uint32_t __main_stack_base__;
|
|||
|
||||
typedef struct port_intctx intctx_t;
|
||||
|
||||
EXTERNC int getRemainingStack(thread_t *otp) {
|
||||
int getRemainingStack(thread_t *otp) {
|
||||
#if CH_DBG_ENABLE_STACK_CHECK
|
||||
// this would dismiss coverity warning - see http://rusefi.com/forum/viewtopic.php?f=5&t=655
|
||||
// coverity[uninit_use]
|
||||
|
|
|
@ -174,7 +174,7 @@ int getAdcChannelPin(adc_channel_e hwChannel) {
|
|||
|
||||
#endif /* HAL_USE_ADC */
|
||||
|
||||
EXTERNC int getRemainingStack(thread_t *otp) {
|
||||
int getRemainingStack(thread_t *otp) {
|
||||
// todo: would stm32 code actually work here since similar Cortex?
|
||||
return 888888;
|
||||
}
|
||||
|
|
|
@ -149,7 +149,7 @@ void jump_to_bootloader() {
|
|||
}
|
||||
#endif /* EFI_DFU_JUMP */
|
||||
|
||||
EXTERNC int getRemainingStack(thread_t *otp) {
|
||||
int getRemainingStack(thread_t *otp) {
|
||||
// todo: would stm32 code actually work here since similar Cortex?
|
||||
return 888888;
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@ extern uint32_t __main_stack_base__;
|
|||
|
||||
typedef struct port_intctx intctx_t;
|
||||
|
||||
EXTERNC int getRemainingStack(thread_t *otp) {
|
||||
int getRemainingStack(thread_t *otp) {
|
||||
#if CH_DBG_ENABLE_STACK_CHECK
|
||||
// this would dismiss coverity warning - see http://rusefi.com/forum/viewtopic.php?f=5&t=655
|
||||
// coverity[uninit_use]
|
||||
|
|
Loading…
Reference in New Issue