lib/ffi/wiring_pi/lcd.rb in ffi-wiring_pi-1.0.2 vs lib/ffi/wiring_pi/lcd.rb in ffi-wiring_pi-1.0.3

- old
+ new

@@ -1,10 +1,11 @@ #frozen_string_literal: true module FFI::WiringPi::LCD extend FFI::Library - ffi_lib 'wiringPi' + ffi_lib_flags :now, :global + ffi_lib 'wiringPi', 'wiringPiDev' # ws2811_return_t ws2811_init(ws2811_t *ws2811); //< Initialize buffers/hardware # void ws2811_fini(ws2811_t *ws2811); //< Tear it all down # ws2811_return_t ws2811_render(ws2811_t *ws2811); //< Send LEDs off to hardware # ws2811_return_t ws2811_wait(ws2811_t *ws2811); //< Wait for DMA completion # const char * ws2811_get_return_t_str(const ws2811_return_t state); //< Get string representation of the given return state