aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Unfinished/AVRISP/AVRISP.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-19 08:29:08 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-19 08:29:08 +0000
commitfa8beef82d1340a69390d4b11ca785ee016789c5 (patch)
tree1cfb23637c6e2d1c418ef2645b1ec394dff4cd48 /Projects/Unfinished/AVRISP/AVRISP.c
parent32cc2b8d4d9f2c66a9dbfa859f476c077592e2cf (diff)
downloadlufa-fa8beef82d1340a69390d4b11ca785ee016789c5.tar.gz
lufa-fa8beef82d1340a69390d4b11ca785ee016789c5.tar.bz2
lufa-fa8beef82d1340a69390d4b11ca785ee016789c5.zip
Moved out the handling of V2 Protocol parameters to a seperate set of files. Added parameter privellages, so that an error can be returned to the host when trying to perform a get/set value action on a parameter without the correct privellages.
Diffstat (limited to 'Projects/Unfinished/AVRISP/AVRISP.c')
-rw-r--r--Projects/Unfinished/AVRISP/AVRISP.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Projects/Unfinished/AVRISP/AVRISP.c b/Projects/Unfinished/AVRISP/AVRISP.c
index e937253e3..0b101247f 100644
--- a/Projects/Unfinished/AVRISP/AVRISP.c
+++ b/Projects/Unfinished/AVRISP/AVRISP.c
@@ -43,7 +43,7 @@ int main(void)
{
SetupHardware();
- V2Protocol_Init();
+ V2Params_LoadEEPROMParamValues();
printf("AVRISP-MKII Clone\r\n");
@@ -100,7 +100,8 @@ void EVENT_USB_Device_ConfigurationChanged(void)
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
}
}
-
+
+/** Processes incomming V2 Protocol commands from the host, returning a response when required. */
void Process_AVRISP_Commands(void)
{
/* Device must be connected and configured for the task to run */