diff options
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" -} |