diff options
author | Leo P | 2020-07-03 02:45:54 -0400 |
---|---|---|
committer | Leo P | 2020-07-03 02:45:54 -0400 |
commit | 818bc9594e3286566abc0f6bd9cd08fbf31df8ac (patch) | |
tree | c7598682e52f7948997ea11653ca67446e7c49cd /lib_i2c-gpio-custom-filter.sh | |
parent | 837551f6d4240edd236a88bd83d075952ceeef13 (diff) | |
download | aur-atomicpi-utils.tar.gz |
moved sources to external repo, added licence and upstream URL
Diffstat (limited to 'lib_i2c-gpio-custom-filter.sh')
-rw-r--r-- | lib_i2c-gpio-custom-filter.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib_i2c-gpio-custom-filter.sh b/lib_i2c-gpio-custom-filter.sh deleted file mode 100644 index b8780fb8ab45..000000000000 --- a/lib_i2c-gpio-custom-filter.sh +++ /dev/null @@ -1,16 +0,0 @@ -. /usr/lib/gpio-present.sh - -check_gpio_bus_configuration () { - ERRORS=0 - shift; - if ! gpio_present $1; then - echo "SDA GPIO ($1) not detected" >&2 - ERRORS="$(($ERRORS+1))" - fi - shift; - if ! gpio_present $1; then - echo "SCL GPIO ($1) not detected" >&2 - ERRORS="$(($ERRORS+1))" - fi - return "$ERRORS" -} |