Unicorn wrote:
If you haven't changed any code in the libraries, it is probably your code's fault. You could post that for us to look at...
This is where the errors first started.
Code: #include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <tice.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "settings.h"
#include "external.h"
#include <lib\ce\graphx.h>
#include <lib\ce\keypadc.h>
int8_t settings() {
gfx_SetDraw(gfx_buffer);
gfx_FillScreen(0x80);
gfx_PrintStringXY("Start City:", 20, 10);
gfx_PrintStringXY("< Chicago >", 100, 10);
startcity = (startCity | chicago);
do {
gfx_SetDraw(gfx_buffer);
key = os_GetCSC();
switch (key) {
case 2: //left
switch (startcity) {
case (startCity | chicago):
gfx_PrintStringXY("< Boston >", 100, 10);
startcity = (startCity | boston);
break;
case (startCity | NYC):
gfx_PrintStringXY("< Chicago >", 100, 10);
startcity = (startCity | chicago);
break;
case (startCity | stLouis):
gfx_PrintStringXY("< NYC >", 100, 10);
startcity = (startCity | NYC);
break;
case (startCity | boston):
gfx_PrintStringXY("< St. Louis >", 100, 10);
startcity = (startCity | stLouis);
break;
}
case 3: //right
switch (startcity) {
case (startCity | chicago):
gfx_PrintStringXY("< NYC >", 100, 10);
startcity = (startCity | NYC);
break;
case (startCity | NYC):
gfx_PrintStringXY("< St. Louis >", 100, 10);
startcity = (startCity | stLouis);
break;
case (startCity | stLouis):
gfx_PrintStringXY("< Boston >", 100, 10);
startcity = (startCity | boston);
break;
case (startCity | boston):
gfx_PrintStringXY("< Chicago >", 100, 10);
startcity = (startCity | chicago);
break;
}
}
gfx_SwapDraw();
} while (kb_ScanGroup(kb_group_1) != kb_2nd);
return startcity;
}
The main.c compiled correctly. So it's not there.