lib/ffi/wiring_pi/gpio.rb in ffi-wiring_pi-0.1.4 vs lib/ffi/wiring_pi/gpio.rb in ffi-wiring_pi-0.1.5

- old
+ new

@@ -111,14 +111,14 @@ @mode = mode end def up! raise ArgumentError('Can only set in OUTPUT mode') && return unless @mode == FFI::WiringPi::GPIO::OUTPUT - GPIO.up(@position) + FFI::WiringPi::GPIO.up(@position) end def down! raise ArgumentError('Can only set in OUTPUT mode') && return unless @mode == FFI::WiringPi::GPIO::OUTPUT - GPIO.down(@position) + FFI::WiringPi::GPIO.down(@position) end end end