summaryrefslogtreecommitdiffhomepage
path: root/digital/lcd/src/lcd.hh
diff options
context:
space:
mode:
authorGuillaume Milan2013-05-10 22:48:59 +0200
committerNicolas Schodet2013-05-10 23:31:47 +0200
commitea4ed73277af078a0ff37e806957636643c093b2 (patch)
tree6b7e95c4a389b451901b7a6d97ab990ecb5d617a /digital/lcd/src/lcd.hh
parent5f754a57410b4d0d77f56a3ef7fb45013baba7ea (diff)
digital/lcd/src: fix the problem of the position of the robot on the table
Diffstat (limited to 'digital/lcd/src/lcd.hh')
-rw-r--r--digital/lcd/src/lcd.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/lcd/src/lcd.hh b/digital/lcd/src/lcd.hh
index a3caced1..c3909ba0 100644
--- a/digital/lcd/src/lcd.hh
+++ b/digital/lcd/src/lcd.hh
@@ -68,7 +68,7 @@ class LCD
void draw_sentence( uint16_t color ,const char *sentence, Rect pos);
///write a sentence first caractere has pos as position
int draw_sentence_left( uint16_t color ,const char *sentence, Rect pos);
- int belong ( int x, int y); //does the point belong to the screen?
+ static bool belong ( int x, int y); //does the point belong to the screen?
private:
void set_cursor (int x, int y);
void write_index (uint16_t index);