klipper/src/generic
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
..
alloc.c generic: Create generic board infrastructure and move misc.h to it 2016-06-13 23:18:58 -04:00
armcm_irq.c armcm_irq: Move ARM Cortex-M irq handling to new file 2017-02-19 11:00:46 -05:00
crc16_ccitt.c generic: Create generic board infrastructure and move misc.h to it 2016-06-13 23:18:58 -04:00
gpio.h gpio: Merge gpio_adc_sample_time() into gpio_adc_sample() 2016-11-02 17:36:43 -04:00
io.h io.h: read/write[bwl] should use barrier 2017-02-02 10:46:42 -05:00
irq.h irq: Allow boards to define the return type of irq_save() 2016-06-13 23:18:59 -04:00
misc.h timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00
pgm.h generic: Move simulator/irq.h to new file generic/irq.h 2016-06-13 23:18:58 -04:00
timer.c timer: Allow board code to define its own timer_is_before implementation 2017-03-26 22:45:58 -04:00