修改光栅默认输入口上拉
This commit is contained in:
parent
c7f3052bd3
commit
4f975cd0dd
|
@ -14,7 +14,7 @@ static PulsePort* Create(Pin pin)
|
|||
pp->Port = new InputPort();
|
||||
pp->Port->Set(pin);
|
||||
pp->Port->Floating = false;
|
||||
pp->Port->Pull = InputPort::DOWN;
|
||||
pp->Port->Pull = InputPort::UP;
|
||||
|
||||
pp->Port->HardEvent = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue