mirror of https://github.com/contiki-ng/mspsim
Merge pull request #41 from FabianKnapp/master
Bug Fix: IO range for adc12 one word to short
This commit is contained in:
commit
93a19ea91e
|
|
@ -113,7 +113,7 @@ public class MSP430f1611Config extends MSP430Config {
|
|||
cpu.setIORange(0x080, 16, adc12);
|
||||
cpu.setIORange(0x140, 16, adc12);
|
||||
cpu.setIORange(0x150, 16, adc12);
|
||||
cpu.setIORange(0x1a0, 8, adc12);
|
||||
cpu.setIORange(0x1a0, 10, adc12);
|
||||
|
||||
return 3 + 6;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ public class MSP430f2617Config extends MSP430Config {
|
|||
cpu.setIORange(0x080, 16, adc12);
|
||||
cpu.setIORange(0x140, 16, adc12);
|
||||
cpu.setIORange(0x150, 16, adc12);
|
||||
cpu.setIORange(0x1a0, 8, adc12);
|
||||
cpu.setIORange(0x1a0, 10, adc12);
|
||||
|
||||
/* 4 usci units + 6 io port*/
|
||||
return 4 + 6;
|
||||
|
|
|
|||
Loading…
Reference in New Issue