mirror of
https://github.com/sergeyyarkov/pdsp188x.git
synced 2026-10-11 02:18:52 +03:00
avr: fix mask
This commit is contained in:
parent
3a9ffdb4c5
commit
600645f77d
@ -18,10 +18,10 @@ static void Init(void) {
|
||||
_delay_ms(10);
|
||||
|
||||
/* reset */
|
||||
DATA_PORT |= _BV(WR) | _BV(FL);
|
||||
DATA_PORT &= ~_BV(RST);
|
||||
DATA_PORT |= WR | FL;
|
||||
DATA_PORT &= ~RST;
|
||||
_delay_us(1);
|
||||
DATA_PORT |= _BV(RST);
|
||||
DATA_PORT |= RST;
|
||||
|
||||
_delay_ms(1);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user