klipper/src
Kevin O'Connor 262ccbcf30 serial: Be careful with comparison of transmit_max to transmit_pos
There is a small possibility that a shutdown could occur between
clearing transmit_max and clearing transmit_pos - so make sure to
handle the case where transmit_pos > transmit_max.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2017-01-14 12:11:30 -05:00
..
avr serial: Be careful with comparison of transmit_max to transmit_pos 2017-01-14 12:11:30 -05:00
generic gpio: Merge gpio_adc_sample_time() into gpio_adc_sample() 2016-11-02 17:36:43 -04:00
sam3x8e serial: Be careful with comparison of transmit_max to transmit_pos 2017-01-14 12:11:30 -05:00
simulator gpio: Merge gpio_adc_sample_time() into gpio_adc_sample() 2016-11-02 17:36:43 -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
adccmds.c sam3x8e: Add support for ADC pins 2016-12-23 17:06:11 -05:00
basecmd.c sched: Minor change - remove unneeded header files 2017-01-14 11:32:27 -05:00
basecmd.h Initial commit of source code. 2016-05-25 11:37:40 -04:00
command.c command: No need to disable irqs in sendf reentrant check 2017-01-14 11:32:27 -05: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: Minor change - remove unneeded header files 2017-01-14 11:32:27 -05:00
gpiocmds.c sched: Use uint_fast8_t for return type of timers 2016-06-14 14:00:53 -04:00
pwmcmds.c pwmcmds: Add Kconfig option to allow boards to disable hardware PWM commands 2016-06-13 23:18:59 -04:00
sched.c sched: Minor change - remove unneeded header files 2017-01-14 11:32:27 -05:00
sched.h build: Update declfuncs.lds.S to only use progmem sections on AVR 2016-06-14 14:00:57 -04:00
spicmds.c Initial commit of source code. 2016-05-25 11:37:40 -04:00
stepper.c sched: Minor change - remove unneeded header files 2017-01-14 11:32:27 -05:00
stepper.h sched: Use uint_fast8_t for return type of timers 2016-06-14 14:00:53 -04:00