Skip to content

Commit 24ce1c6

Browse files
Merge pull request #234 from CE-Programming/fix-examples-warnings
Fix compile warnings in examples
2 parents 96e6c5a + 03ca44c commit 24ce1c6

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

examples/graphx/text_clipped/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ int main(void)
5454

5555
/* End graphics drawing */
5656
gfx_End();
57+
58+
return 0;
5759
}

examples/graphx/text_flipped/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ int main(void)
2828

2929
/* End graphics drawing */
3030
gfx_End();
31+
32+
return 0;
3133
}
3234

3335
void PrintCenteredFlippedText(char *str)

examples/standalone/lcd_fill/src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <string.h>
12
#include <tice.h>
23

34
void FillScreen(uint8_t color);

examples/standalone/random/src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <stdlib.h>
12
#include <tice.h>
23

34
int main(void)

examples/standalone/real_time_clock/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ int main(void)
2929
rtc_IntAcknowledge = rtc_IntStatus;
3030
}
3131
}
32+
33+
return 0;
3234
}

0 commit comments

Comments
 (0)