| 341 | } |
| 342 | |
| 343 | void xs_SSD1306_begin(xsMachine *the) |
| 344 | { |
| 345 | ssd1606 ssd = xsmcGetHostData(xsThis); |
| 346 | CommodettoCoordinate xMin = xsmcToInteger(xsArg(0)); |
| 347 | CommodettoCoordinate yMin = xsmcToInteger(xsArg(1)); |
| 348 | CommodettoDimension width = xsmcToInteger(xsArg(2)); |
| 349 | CommodettoDimension height = xsmcToInteger(xsArg(3)); |
| 350 | |
| 351 | if ((0 != xMin) || (0 != yMin) || (ssd->width != width) || (ssd->height != height)) |
| 352 | xsUnknownError("partial updates unsupported"); |
| 353 | |
| 354 | ssd1306Begin(ssd, xMin, yMin, width, height); |
| 355 | } |
| 356 | |
| 357 | void xs_SSD1306_send(xsMachine *the) |
| 358 | { |
nothing calls this directly
no test coverage detected