Finalized calibration. Fixed a bug in screen module.

This commit is contained in:
t-moe
2015-06-01 23:28:31 +02:00
parent 3155f42646
commit eb573bc589
8 changed files with 92 additions and 76 deletions

View File

@@ -45,7 +45,7 @@ void gui_screen_update() {
bool gui_screen_navigate(SCREEN_STRUCT* screen) {
if(screen==NULL) { //invalid argument passed
if(screen==NULL || screen==screen_current || screen==screen_goto) { //invalid argument passed
return false;
}
screen->next = NULL; //this will become the new tail of the list, so the next pointer must be NULL