klipper/src
Kevin O'Connor 60e488eb17 timer: Allow board code to define its own timer_is_before implementation
Move sched_is_before() from sched.c to timer_is_before() in the board
specific timer code.  This allows the board code to provide its own
definition.

Also, remove the sched_from_us() and sched_read_time() wrapper
functions and change the callers to directly invoke timer_from_us() /
timer_read_time().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2017-03-26 22:45:58 -04:00
..
avr timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
generic timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
sam3x8e generic: Move generic parts of sam3x8e timer.c to generic directory 2017-03-11 12:15:07 -05:00
simulator timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
adccmds.c sched: Rename sched_timer() to sched_add_timer() 2017-03-11 11:14:06 -05:00
basecmd.c timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
basecmd.h basecmd: Use oid_ prefix for the oid manipulation functions 2017-03-09 13:49:03 -05:00
command.c command: Simplify sendf() switch 2017-03-26 21:55:24 -04:00
command.h build: Define DECL_CONSTANT mechanism for defining exported constants 2016-12-23 17:06:10 -05:00
compiler.h compiler.h: Check if __aligned and __section macros are already defined 2016-06-13 23:18:59 -04:00
declfunc.lds.S build: Avoid objcopy --dump-section flag 2016-07-10 21:46:57 -04:00
endstop.c sched: Rename sched_timer() to sched_add_timer() 2017-03-11 11:14:06 -05:00
gpiocmds.c timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
Kconfig sam3x8e: Add initial support for Arduino Due boards 2016-06-14 14:27:30 -04:00
Makefile pwmcmds: Add Kconfig option to allow boards to disable hardware PWM commands 2016-06-13 23:18:59 -04:00
pwmcmds.c sched: Rename sched_timer() to sched_add_timer() 2017-03-11 11:14:06 -05:00
sched.c timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
sched.h timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
spicmds.c Initial commit of source code. 2016-05-25 11:37:40 -04:00
stepper.c timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
stepper.h stepper: Introduce stepper_get_position command and remove from endstop.c 2017-03-09 14:54:52 -05:00