mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-24 22:05:58 +08:00
[fixedwing] use default SYS_TIME_RESOLUTION of 1/1024 unless changed in airframe file
This commit is contained in:
@@ -70,7 +70,7 @@ endif
|
||||
PERIODIC_FREQUENCY ?= 60
|
||||
$(TARGET).CFLAGS += -DPERIODIC_FREQUENCY=$(PERIODIC_FREQUENCY)
|
||||
$(TARGET).srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
$(TARGET).CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_RESOLUTION='(1./$(PERIODIC_FREQUENCY).)'
|
||||
$(TARGET).CFLAGS += -DUSE_SYS_TIME
|
||||
|
||||
#
|
||||
# InterMCU & Commands
|
||||
|
||||
Reference in New Issue
Block a user