Weird segmentation faults
This commit is contained in:
@@ -117,11 +117,17 @@ void config(UWORD *blackImage, char* configName) {
|
||||
Paint_SelectImage(blackImage);
|
||||
Paint_Clear(WHITE);
|
||||
|
||||
DebugLine(14, 10, "MADE IT TO HERE --------------------------------------");
|
||||
|
||||
Paint_DrawString(5, 5, getConfigReturn.r0, &Font12, WHITE, BLACK);
|
||||
EPD_2in13_V4_Display(blackImage);
|
||||
|
||||
int ch = getch();
|
||||
if (ch == 'q') return;
|
||||
if (ch == 'q') {
|
||||
free(getConfigReturn.r0);
|
||||
return;
|
||||
}
|
||||
free(getConfigReturn.r0);
|
||||
}
|
||||
|
||||
void drawTotpHome(UWORD *blackImage, char** configNames, int *length) {
|
||||
|
||||
Reference in New Issue
Block a user