summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch
diff options
context:
space:
mode:
authorCarton <joel.carron@eeproperty.ch>2019-07-18 12:18:51 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2019-07-18 17:19:06 +0100
commite4936f361b63a57ee324abe71ce0642d36b81172 (patch)
treed7d4c0cf6cb54cceff8364f373ec5714dee17d49 /recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch
parentc49d09c725a19ec9c4ee79bef56c5f8784fd23bc (diff)
downloadmeta-raspberrypi-e4936f361b63a57ee324abe71ce0642d36b81172.tar.gz
rpi-config: Check some config values against "1"
When we read the docs, we have the feelings that theses variables are boolean ones. So I was setting, for example in my distro.conf file the variable ' ENABLE_I2C = "1" ' to enable I2C. Then I wanted to disable it by simply setting 'ENABLE_I2C' to "0" but it wasn't working. So I noticed that, for example, ' ENABLE_UART ' was checked with ' = "1" ' condition and some other "boolean" was checked against ' -n ' like for ENABLE_I2C. This commit tries to have an uniform behavior for all variables that are shown in the doc under the format ' VARIABLE = "1" ' to enable them and the reader can think they are kind of 'boolean' values. Signed-off-by: Joël Carron <joel.carron@eeproperty.ch>
Diffstat (limited to 'recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch')
0 files changed, 0 insertions, 0 deletions