| 203 | #endif |
| 204 | |
| 205 | void xs_ILI9341_destructor(void *data) |
| 206 | { |
| 207 | spiDisplay sd = data; |
| 208 | if (!data) return; |
| 209 | |
| 210 | SCREEN_CS_UNINIT; |
| 211 | SCREEN_DC_UNINIT; |
| 212 | modSPIUninit(&sd->spiConfig); |
| 213 | |
| 214 | #ifdef MODDEF_ILI9341_RST_PIN |
| 215 | SCREEN_RST_UNINIT; |
| 216 | #endif |
| 217 | c_free(data); |
| 218 | } |
| 219 | |
| 220 | void xs_ILI9341(xsMachine *the) |
| 221 | { |
no test coverage detected