修改光栅默认输入口上拉

This commit is contained in:
arlenxiao 2017-05-06 16:56:16 +08:00
parent c7f3052bd3
commit 4f975cd0dd
1 changed files with 1 additions and 1 deletions

View File

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