Merge pull request #41 from FabianKnapp/master

Bug Fix: IO range for adc12 one word to short
This commit is contained in:
Joakim Eriksson 2015-09-04 15:10:30 +02:00
commit 93a19ea91e
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;