Reverted AVRISP-MKII clone project watchdog based command timeout patch in favour of a hardware timer, to allow for use in devices with WDTRST fuse programmed.
This commit is contained in:
parent
89f16f5d7f
commit
25ac76a251
8 changed files with 36 additions and 29 deletions
|
@ -78,8 +78,8 @@
|
|||
/** Timeout period for each issued command from the host before it is aborted (in 10ms ticks). */
|
||||
#define COMMAND_TIMEOUT_TICKS 100
|
||||
|
||||
/** Command timeout expiration flag, GPIOR for speed. */
|
||||
#define TimeoutExpired GPIOR1
|
||||
/** Command timeout ticks remaining counter, GPIOR for speed. */
|
||||
#define TimeoutTicksRemaining GPIOR1
|
||||
|
||||
/** MUX mask for the VTARGET ADC channel number. */
|
||||
#define VTARGET_ADC_CHANNEL_MASK ADC_GET_CHANNEL_MASK(VTARGET_ADC_CHANNEL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue