aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gos/gos_arduino.c2
-rw-r--r--src/gos/gos_raw32.c2
-rw-r--r--src/gwin/gwin.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gos/gos_arduino.c b/src/gos/gos_arduino.c
index 60c35cac..4c01695a 100644
--- a/src/gos/gos_arduino.c
+++ b/src/gos/gos_arduino.c
@@ -327,7 +327,7 @@ static thread *Qpop(threadQ * q) {
/* These functions are not static to prevent the compiler removing them as functions */
void get_stack_state(void) {
- char c;
+ char* c;
pframeinfo->localptr = (char *)&c;
_setjmp(pframeinfo->cxt);
}
diff --git a/src/gos/gos_raw32.c b/src/gos/gos_raw32.c
index 7a80dd0e..7aa88b2a 100644
--- a/src/gos/gos_raw32.c
+++ b/src/gos/gos_raw32.c
@@ -526,7 +526,7 @@ static thread *Qpop(threadQ * q) {
/* These functions are not static to prevent the compiler removing them as functions */
void get_stack_state(void) {
- char c;
+ char* c;
pframeinfo->localptr = (char *)&c;
_setjmp(pframeinfo->cxt);
}
diff --git a/src/gwin/gwin.h b/src/gwin/gwin.h
index 9b2d18b7..4a7d02bf 100644
--- a/src/gwin/gwin.h
+++ b/src/gwin/gwin.h
@@ -469,7 +469,7 @@ extern "C" {
#if GWIN_NEED_WINDOWMANAGER || defined (__DOXYGEN__)
/**
- * @brief Redraw a window
+ * @brief Redraw a display
*
* @param[in] g The display to redraw. Passing NULL will redraw all displays.
* @param[in] preserve Should the redraw try to preserve existing screen data for those