mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Fix a few possible problems discovered in -O0 / eabi experiments.
- two essential parts of Sansa AMS drivers are optimzed away in newer gcc, so mark them volatile. - use "r" instead of "i" (which is apparently invalid syntax) for the input list in some inline assembly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23634 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8ceaf7bb72
commit
a1bc3401f1
3 changed files with 11 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ static int xoffset = 20; /* needed for flip */
|
|||
/* we need to write a red pixel for correct button reads
|
||||
* (see lcd_button_support()),but that must not happen while the lcd is updating
|
||||
* so block lcd_button_support the during updates */
|
||||
static bool lcd_busy = false;
|
||||
static volatile int lcd_busy = false;
|
||||
|
||||
static inline void lcd_delay(int x)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue