Move ADC VTARGET sampling to a new V2Params_UpdateParamValues() in the AVRISP project so that there is a central place where all non-PC set target values can be updated easily.
This commit is contained in:
parent
4bb236e9a0
commit
244c86429b
3 changed files with 24 additions and 9 deletions
|
@ -42,6 +42,10 @@
|
|||
|
||||
#include <LUFA/Version.h>
|
||||
|
||||
#if defined(ADC)
|
||||
#include <LUFA/Drivers/Peripheral/ADC.h>
|
||||
#endif
|
||||
|
||||
#include "V2Protocol.h"
|
||||
#include "V2ProtocolConstants.h"
|
||||
|
||||
|
@ -62,7 +66,8 @@
|
|||
} ParameterItem_t;
|
||||
|
||||
/* Function Prototypes: */
|
||||
void V2Params_LoadEEPROMParamValues(void);
|
||||
void V2Params_LoadNonVolatileParamValues(void);
|
||||
void V2Params_UpdateParamValues(void);
|
||||
|
||||
uint8_t V2Params_GetParameterPrivellages(uint8_t ParamID);
|
||||
uint8_t V2Params_GetParameterValue(uint8_t ParamID);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue