mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
as3525*: use atomic bit manipulation for CCU_IO
fuzev2 button_read_device() runs in interrupt context so writes are atomic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27494 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
25491980d6
commit
b221d6d4d4
5 changed files with 11 additions and 11 deletions
|
|
@ -29,7 +29,7 @@
|
|||
void lcd_hw_init(int *offset)
|
||||
{
|
||||
/* DBOP initialisation, do what OF does */
|
||||
CCU_IO |= (1<<12); /* ?? */
|
||||
bitset32(&CCU_IO, 1<<12); /* ?? */
|
||||
CGU_DBOP |= /*(1<<3)*/ 0x18 | AS3525_DBOP_DIV;
|
||||
|
||||
DBOP_CTRL = 0x51004;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue