[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] b1493c: [arch/linux] sys_time:
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] b1493c: [arch/linux] sys_time: get time from CLOCK_MONOTON... |
Date: |
Thu, 05 Mar 2015 07:15:34 -0800 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: b1493c416ca4bde1a3c8ba02450ea7db73aa6286
https://github.com/paparazzi/paparazzi/commit/b1493c416ca4bde1a3c8ba02450ea7db73aa6286
Author: Felix Ruess <address@hidden>
Date: 2015-03-03 (Tue, 03 Mar 2015)
Changed paths:
M sw/airborne/arch/linux/mcu_periph/sys_time_arch.c
Log Message:
-----------
[arch/linux] sys_time: get time from CLOCK_MONOTONIC
Instead of simply adding up the sys_time ticks, seconds, get curent time from
CLOCK_MONOTONIC and directly set sys_time from that
(difference to clock monotonic time at startup).
Commit: b6c9619ec7ad59ea00a8341b27ddcb05b0e6e2ba
https://github.com/paparazzi/paparazzi/commit/b6c9619ec7ad59ea00a8341b27ddcb05b0e6e2ba
Author: Felix Ruess <address@hidden>
Date: 2015-03-03 (Tue, 03 Mar 2015)
Changed paths:
M conf/firmwares/rotorcraft.makefile
M conf/firmwares/setup.makefile
M conf/firmwares/subsystems/fixedwing/autopilot.makefile
M conf/firmwares/test_progs.makefile
Log Message:
-----------
[arch/linux] sys_time: link against librt for glibc < 2.17
Commit: 61d4c7f29e52de54bb5b613284c428d39a5f145f
https://github.com/paparazzi/paparazzi/commit/61d4c7f29e52de54bb5b613284c428d39a5f145f
Author: Felix Ruess <address@hidden>
Date: 2015-03-05 (Thu, 05 Mar 2015)
Changed paths:
M conf/firmwares/rotorcraft.makefile
M conf/firmwares/setup.makefile
M conf/firmwares/subsystems/fixedwing/autopilot.makefile
M conf/firmwares/test_progs.makefile
M sw/airborne/arch/linux/mcu_periph/sys_time_arch.c
Log Message:
-----------
Merge pull request #1128 from paparazzi/linux_sys_time_clock_monotonic
[arch/linux] sys_time: get time from CLOCK_MONOTONIC
Instead of simply adding up the sys_time ticks, seconds, get current time from
CLOCK_MONOTONIC and directly set sys_time from that (difference to clock
monotonic time at startup).
Compare:
https://github.com/paparazzi/paparazzi/compare/2bc2ae43729f...61d4c7f29e52