mirror of
https://github.com/sergeyyarkov/pdsp188x.git
synced 2026-10-11 10:28:54 +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);
|
_delay_ms(10);
|
||||||
|
|
||||||
/* reset */
|
/* reset */
|
||||||
DATA_PORT |= _BV(WR) | _BV(FL);
|
DATA_PORT |= WR | FL;
|
||||||
DATA_PORT &= ~_BV(RST);
|
DATA_PORT &= ~RST;
|
||||||
_delay_us(1);
|
_delay_us(1);
|
||||||
DATA_PORT |= _BV(RST);
|
DATA_PORT |= RST;
|
||||||
|
|
||||||
_delay_ms(1);
|
_delay_ms(1);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user