Add option to enable spi

This commit is contained in:
Tobias Reisinger 2024-05-10 16:24:54 +02:00
parent 83ca8b8d48
commit a5f3bf9128
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 2 additions and 1 deletions

View file

@ -37,6 +37,7 @@
regexp: '^#dtparam=spi=off$'
replace: 'dtparam=spi=on'
become: true
when: dietpi.enable_spi | default(False)
- name: Try to copy Automation_Custom_Script.sh