More fixes to the AVRISP command timeout system so that it should no longer lock up while processing command no matter what the conditions.
This commit is contained in:
1 parent
12a01ed72d
commit
e322f14620
8 files changed
+58
-31
No files matched your search
@@ -64,6 +64,12 @@
|
||||
/** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */
|
||||
#define PROGRAMMER_ID "AVRISP_MK2"
|
||||
|
||||
/** Timeout period for each issued command from the host before it is aborted */
|
||||
#define COMMAND_TIMEOUT_MS 200
|
||||
|
||||
/** Command timeout counter register, GPIOR for speed */
|
||||
#define TimeoutMSRemaining GPIOR0
|
||||
|
||||
/** MUX mask for the VTARGET ADC channel number */
|
||||
#define VTARGET_ADC_CHANNEL_MASK _GETADCMUXMASK(ADC_CHANNEL, VTARGET_ADC_CHANNEL)
|
||||
|
||||
|
||||
Reference in new issue
Block a user