mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
z20x: Timer/Spi Fixes
arch/z80/src/ez80/ez80_timerisr.c: Fix an error that looks the file got damaged by a bad keystroke in the editor while a string was highlighted. boards/z80/ez80/z20x/src/ez80_spi.c: Fix some bad conditional compilationi. Prevented W25 chip select from being initialized.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
9be72e0706
commit
faca2f220e
@@ -176,7 +176,7 @@ void up_timer_initialize(void)
|
||||
* EZ80_TMRCTL_EN: Bit 6: Enable timer interrupt requests
|
||||
*/
|
||||
|
||||
outp(EZ80_TMR0_CTL, (EZ80_TMRCTL_TIMEN | : |
|
||||
outp(EZ80_TMR0_CTL, (EZ80_TMRCTL_TIMEN | EZ80_TMRCTL_RSTEN |
|
||||
EZ80_TMRCLKDIV_4 | EZ80_TMRCTL_TIMCONT |
|
||||
EZ80_TMRCTL_EN));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user