Free shared channel resources on power down
This commit is contained in:
parent
e2baf5a833
commit
75f5a0a159
|
|
@ -117,6 +117,8 @@ void display_terminate()
|
||||||
{} /* Wait until current render finishes */
|
{} /* Wait until current render finishes */
|
||||||
printf("Terminating SDL display emulator, goodbye!\n");
|
printf("Terminating SDL display emulator, goodbye!\n");
|
||||||
free(frameBuffer);
|
free(frameBuffer);
|
||||||
|
chan_close(&fb_sync);
|
||||||
|
chan_terminate(&fb_sync);
|
||||||
}
|
}
|
||||||
|
|
||||||
void display_renderRows(uint8_t startRow, uint8_t endRow)
|
void display_renderRows(uint8_t startRow, uint8_t endRow)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue