Make all AVRISP-MKII programmer parameters readable, since there's no real good reason to restrict parameter reads. Fix misspelt target reset polarity EEPROM variable.
This commit is contained in:
parent
bc3db793e9
commit
dd312cead4
3 changed files with 10 additions and 8 deletions
|
@ -444,10 +444,10 @@ static void XPROGProtocol_SetParam(void)
|
|||
switch (XPROGParam)
|
||||
{
|
||||
case XPRG_PARAM_NVMBASE:
|
||||
XPROG_Param_NVMBase = Endpoint_Read_32_BE();
|
||||
XPROG_Param_NVMBase = Endpoint_Read_32_BE();
|
||||
break;
|
||||
case XPRG_PARAM_EEPPAGESIZE:
|
||||
XPROG_Param_EEPageSize = Endpoint_Read_16_BE();
|
||||
XPROG_Param_EEPageSize = Endpoint_Read_16_BE();
|
||||
break;
|
||||
case XPRG_PARAM_NVMCMD_REG:
|
||||
XPROG_Param_NVMCMDRegAddr = Endpoint_Read_8();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue