mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 12:17:56 -06:00
linux: userspace GPIO control
Allow use host GPIO pins for non-realtime purposes. Signed-off-by: Andrey Kunitsyn <blackicebox@gmail.com>
This commit is contained in:
parent
f0c394de81
commit
8fd330c54e
10 changed files with 187 additions and 22 deletions
|
@ -107,15 +107,3 @@ spi_transfer(struct spi_config config, uint8_t receive_data
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Dummy versions of gpio_out functions
|
||||
struct gpio_out
|
||||
gpio_out_setup(uint8_t pin, uint8_t val)
|
||||
{
|
||||
shutdown("gpio_out_setup not supported");
|
||||
}
|
||||
|
||||
void
|
||||
gpio_out_write(struct gpio_out g, uint8_t val)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue