aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/pyhelper.c
Commit message (Collapse)AuthorAgeFilesLines
* chelper: Use CLOCK_MONOTONIC_RAWKevin O'Connor2018-07-091-1/+1
| | | | | | | | | | | | Switch the host code from the CLOCK_MONOTONIC clock to the Linux specific CLOCK_MONOTONIC_RAW clock. It's common for ntp to slew the CLOCK_MONOTONIC clock to account for drift, and that can break the host's ability to make accurate predictions of the micro-controller clock. This could lead to "move queue empty" errors. The CLOCK_MONOTONIC_RAW clock is not slewed and thus should not have this problem. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Compile with gcc -fwhole-program optionKevin O'Connor2018-06-201-3/+4
| | | | | | | Use the -fwhole-program option when compiling the host C code. This makes it easier to support inlining across C files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Move the host C code to a new klippy/chelper/ directoryKevin O'Connor2018-04-301-0/+93
Move the C code out of the main klippy/ directory and into its own directory. This reduces the clutter in the main klippy directory. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>