projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new incomplete AudioInputHost Host LowLevel demo.
[pub/USBasp.git]
/
Projects
/
AVRISP-MKII
/
Lib
/
V2ProtocolParams.c
diff --git
a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.c
b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.c
index
1982fb9
..
6342d75
100644
(file)
--- a/
Projects/AVRISP-MKII/Lib/V2ProtocolParams.c
+++ b/
Projects/AVRISP-MKII/Lib/V2ProtocolParams.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-37,7
+37,7
@@
#include "V2ProtocolParams.h"
/* Non-Volatile Parameter Values for EEPROM storage */
#include "V2ProtocolParams.h"
/* Non-Volatile Parameter Values for EEPROM storage */
-
uint8_t EEMEM EEPROM_Res
t_Polarity = 0x00;
+
static uint8_t EEMEM EEPROM_Rese
t_Polarity = 0x00;
/* Volatile Parameter Values for RAM storage */
static ParameterItem_t ParameterTable[] =
/* Volatile Parameter Values for RAM storage */
static ParameterItem_t ParameterTable[] =
@@
-88,7
+88,7
@@
static ParameterItem_t ParameterTable[] =
void V2Params_LoadNonVolatileParamValues(void)
{
/* Target RESET line polarity is a non-volatile value, retrieve current parameter value from EEPROM */
void V2Params_LoadNonVolatileParamValues(void)
{
/* Target RESET line polarity is a non-volatile value, retrieve current parameter value from EEPROM */
- V2Params_GetParamFromTable(PARAM_RESET_POLARITY)->ParamValue = eeprom_read_byte(&EEPROM_Rest_Polarity);
+ V2Params_GetParamFromTable(PARAM_RESET_POLARITY)->ParamValue = eeprom_read_byte(&EEPROM_Res
e
t_Polarity);
}
/** Updates any parameter values that are sourced from hardware rather than explicitly set by the host, such as
}
/** Updates any parameter values that are sourced from hardware rather than explicitly set by the host, such as
@@
-163,7
+163,7
@@
void V2Params_SetParameterValue(const uint8_t ParamID,
/* The target RESET line polarity is a non-volatile parameter, save to EEPROM when changed */
if (ParamID == PARAM_RESET_POLARITY)
/* The target RESET line polarity is a non-volatile parameter, save to EEPROM when changed */
if (ParamID == PARAM_RESET_POLARITY)
- eeprom_update_byte(&EEPROM_Rest_Polarity, Value);
+ eeprom_update_byte(&EEPROM_Res
e
t_Polarity, Value);
}
/** Retrieves a parameter entry (including ID, value and privileges) from the parameter table that matches the given
}
/** Retrieves a parameter entry (including ID, value and privileges) from the parameter table that matches the given