From 244c86429b6eea1f86c5bcca070889d6adbc15b0 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 30 Aug 2009 03:51:44 +0000 Subject: 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. --- Projects/AVRISP/Lib/V2ProtocolParams.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Projects/AVRISP/Lib/V2ProtocolParams.h') diff --git a/Projects/AVRISP/Lib/V2ProtocolParams.h b/Projects/AVRISP/Lib/V2ProtocolParams.h index 9c0f044c2..9ad84e7a3 100644 --- a/Projects/AVRISP/Lib/V2ProtocolParams.h +++ b/Projects/AVRISP/Lib/V2ProtocolParams.h @@ -42,6 +42,10 @@ #include + #if defined(ADC) + #include + #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); -- cgit v1.2.3