raspi_lcd 0.82 → 0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/raspi_lcd/raspi_lcd.c +1 -1
- metadata +1 -1
data/ext/raspi_lcd/raspi_lcd.c
CHANGED
@@ -91,7 +91,7 @@ static VALUE r_LCD_DrawBitmap(VALUE self, VALUE x0,VALUE y0,VALUE bmp)
|
|
91
91
|
|
92
92
|
VALUE str = StringValue(bmp); /* fixme: does this work with uint8? */
|
93
93
|
b = RSTRING_PTR(str);
|
94
|
-
|
94
|
+
LCD_DrawBitmap(FIX2INT(x0),FIX2INT(y0),b);
|
95
95
|
|
96
96
|
return Qnil;
|
97
97
|
}
|