[example_plugin] not using the "real" function in example

This commit is contained in:
Maschell 2018-02-04 22:18:09 +01:00
parent 437cbf9a66
commit 88f323de17
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ LD1FLAGS += --relocatable -s \
# -memb: enable embedded application specific compilation
# -ffunction-sections: split up functions so linker can garbage collect
# -fdata-sections: split up data so linker can garbage collect
CFLAGS += -O0 -Wall -x c -std=gnu11 \
CFLAGS += -O0 -Wall -x c -std=gnu99 \
-nostdinc -ffreestanding \
-DGEKKO_U -D__wiiu__ \
-mrvl -mcpu=750 -meabi -mhard-float -fshort-wchar -fno-common \

View File

@ -13,13 +13,13 @@ static int value = 15;
static int my_func(void)
{
int res = func();
int res = 17;
return 4 * value * res;
}
static int my_func2(void)
{
int res = func();
int res = 15;
return 4 * value * res;
}