diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-30 03:51:44 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-30 03:51:44 +0000 |
commit | 244c86429b6eea1f86c5bcca070889d6adbc15b0 (patch) | |
tree | 647fa428989ddfed17b00a252b73dc935a3a8698 /Projects/AVRISP/Lib/V2ProtocolParams.h | |
parent | 4bb236e9a05c5bae7a3ae6ee5c17572fa6af7d61 (diff) | |
download | lufa-244c86429b6eea1f86c5bcca070889d6adbc15b0.tar.gz lufa-244c86429b6eea1f86c5bcca070889d6adbc15b0.tar.bz2 lufa-244c86429b6eea1f86c5bcca070889d6adbc15b0.zip |
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.
Diffstat (limited to 'Projects/AVRISP/Lib/V2ProtocolParams.h')
-rw-r--r-- | Projects/AVRISP/Lib/V2ProtocolParams.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <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);
|