fixed alignment for (at least for some) registers that can be used 8, 16 or 32 bit wide

This commit is contained in:
Markus Fröschle
2012-10-24 19:40:12 +00:00
parent 25c380750c
commit 9b0a18100f
3 changed files with 34 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ void wait_1us(void)
void init_slt(void)
{
MCF_SLT0_STCNT = 0xffffffff;
MCF_SLT0_SCR = 0x05;
MCF_SLT0_SCR = 0x05000000;
uart_out_word('SLT ');
uart_out_word('OK! ');