diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-04-03 16:33:23 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-12-14 23:11:30 +0100 |
commit | 1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8 (patch) | |
tree | 3ec44a4e6cfe4bfaab689e765ef3546d8dac730d /firmware/drivers/lcd-16bit-common.c | |
parent | 47c8d3c14d8fdaf4749ef5e0380fb0c52140b5fb (diff) | |
download | rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.tar.gz rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.zip |
scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api.
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
Diffstat (limited to 'firmware/drivers/lcd-16bit-common.c')
-rw-r--r-- | firmware/drivers/lcd-16bit-common.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/drivers/lcd-16bit-common.c b/firmware/drivers/lcd-16bit-common.c index f8673ec6db..dffc1cf075 100644 --- a/firmware/drivers/lcd-16bit-common.c +++ b/firmware/drivers/lcd-16bit-common.c | |||
@@ -144,13 +144,9 @@ void lcd_clear_viewport(void) | |||
144 | } | 144 | } |
145 | 145 | ||
146 | if (current_vp == &default_vp) | 146 | if (current_vp == &default_vp) |
147 | { | 147 | lcd_scroll_stop(); |
148 | lcd_scroll_info.lines = 0; | ||
149 | } | ||
150 | else | 148 | else |
151 | { | 149 | lcd_scroll_stop_viewport(current_vp); |
152 | lcd_scroll_stop(current_vp); | ||
153 | } | ||
154 | } | 150 | } |
155 | 151 | ||
156 | /*** parameter handling ***/ | 152 | /*** parameter handling ***/ |