mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
Fix warning of nested extern declaration of fn get_sys_time_float (#3499)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "modules/core/threads.h"
|
||||
#include "modules/core/threads_arch.h"
|
||||
#include "stdbool.h"
|
||||
|
||||
#include "mcu_periph/sys_time.h"
|
||||
|
||||
int pprz_mtx_init(pprz_mutex_t* mtx) {
|
||||
(void)mtx;
|
||||
@@ -36,8 +36,6 @@ int pprz_mtx_unlock(pprz_mutex_t* mtx) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void pprz_bsem_init(pprz_bsem_t* bsem, bool taken) {
|
||||
bsem->value = taken ? 0: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user