mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
HAL_ChibiOS: fixed build warnings
This commit is contained in:
parent
f25b95f287
commit
018c9ad40b
@ -15,6 +15,7 @@
|
||||
|
||||
#include "stm32_util.h"
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void stm32_timer_set_input_filter(stm32_tim_t *tim, uint8_t channel, uint8_t filter_mode)
|
||||
{
|
||||
@ -72,7 +73,7 @@ void show_stack_usage(void)
|
||||
p++;
|
||||
}
|
||||
uint32_t stack_left = ((uint32_t)p) - stklimit;
|
||||
printf("%s %u\n", tp->name, stack_left);
|
||||
printf("%s %u\n", tp->name, (unsigned)stack_left);
|
||||
tp = chRegNextThread(tp);
|
||||
} while (tp != NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user