linux: Use Unix signals to notify when a timer is pending

Use Unix signals in software timer implementation.  This makes the
code a little more efficient.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2021-11-02 13:27:51 -04:00
1 parent ffeafb690b
commit 913d099261
5 files changed
+105 -57

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ src-y += linux/pca9685.c linux/spidev.c linux/analog.c linux/hard_pwm.c
src-y += linux/i2c.c linux/gpio.c generic/crc16_ccitt.c generic/alloc.c
src-y += linux/sensor_ds18b20.c
CFLAGS_klipper.elf += -lutil -lpthread
CFLAGS_klipper.elf += -lutil -lrt -lpthread
flash: $(OUT)klipper.elf
@echo " Flashing"