mirror of https://github.com/Desuuuu/klipper.git
pru: Force load the ADC module during PRU startup
Make sure the ADC module gets loaded during startup - it's normally loaded by the cape manager eeprom, but there's no harm in requesting it explicitly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
75ba375b8a
commit
eaacb928fc
|
@ -52,6 +52,9 @@ pru_start()
|
|||
log_daemon_msg "Starting pru"
|
||||
echo 4a334000.pru0 > /sys/bus/platform/drivers/pru-rproc/bind
|
||||
echo 4a338000.pru1 > /sys/bus/platform/drivers/pru-rproc/bind
|
||||
|
||||
log_daemon_msg "Loading ADC module"
|
||||
echo 'BB-ADC' > /sys/devices/platform/bone_capemgr/slots
|
||||
}
|
||||
|
||||
mcu_host_stop()
|
||||
|
|
Loading…
Reference in New Issue