Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets.
This commit is contained in:
parent
5e46801096
commit
e5057fec8e
2 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,7 @@ RX_PIN_INT:
|
|||
|
||||
// turn on interrupt on compare match
|
||||
|
||||
sbi TC_INTFLAG_REG,TC_RX_IF_BIT //------------------------
|
||||
sbi TC_INTFLAG_REG,TC_RX_IF_BIT
|
||||
|
||||
lds r16,TC_INT_MASK_REG
|
||||
ori r16,(1<<TC_RX_COMPEN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue