Initialize touch inputs to untouched
This commit is contained in:
parent
09a35aa1d9
commit
d9b18255e5
1 changed files with 6 additions and 0 deletions
|
@ -562,6 +562,12 @@ static int SimInit()
|
|||
|
||||
analogInputs[vMeterPin] = 3025;
|
||||
|
||||
// Initialize touch sensors to not be poked
|
||||
for(int i = 0; i < 12; ++i) {
|
||||
touchSensor.mockFilteredData(i, 4095);
|
||||
}
|
||||
|
||||
|
||||
// Dummy to always force full reset of EEPROM, to circumvent bug in NuEVI.ino
|
||||
digitalInputs[mPin] = 0;
|
||||
digitalInputs[ePin] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue