X-Git-Url: http://nitlanguage.org diff --git a/lib/bcm2835/bcm2835.nit b/lib/bcm2835/bcm2835.nit index 48f0ed2..d77d134 100644 --- a/lib/bcm2835/bcm2835.nit +++ b/lib/bcm2835/bcm2835.nit @@ -25,11 +25,9 @@ in "C Header" `{ #include `} -redef class Object - protected fun bcm2835_init: Bool `{ return bcm2835_init(); `} - protected fun bcm2835_close `{ bcm2835_close(); `} - protected fun bcm2835_debug=(v: Bool) `{ bcm2835_set_debug(v); `} -end +fun bcm2835_init: Bool `{ return bcm2835_init(); `} +fun bcm2835_close `{ bcm2835_close(); `} +fun bcm2835_debug=(v: Bool) `{ bcm2835_set_debug(v); `} # A physical binary pin interface Pin