projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation adjustments to the demos, projects and bootloaders to ensure...
[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
5028dad
..
2c5ac3f
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
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
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 */
-static uint8_t EEMEM EEPROM_Reset_Polarity = 0x0
0
;
+static uint8_t EEMEM EEPROM_Reset_Polarity = 0x0
1
;
/* Volatile Parameter Values for RAM storage */
static ParameterItem_t ParameterTable[] =
/* Volatile Parameter Values for RAM storage */
static ParameterItem_t ParameterTable[] =
@@
-60,11
+60,11
@@
static ParameterItem_t ParameterTable[] =
{ .ParamID = PARAM_SW_MINOR,
.ParamPrivileges = PARAM_PRIV_READ,
{ .ParamID = PARAM_SW_MINOR,
.ParamPrivileges = PARAM_PRIV_READ,
- .ParamValue =
0x0D
},
+ .ParamValue =
FIRMWARE_VERSION_MINOR
},
{ .ParamID = PARAM_VTARGET,
.ParamPrivileges = PARAM_PRIV_READ,
{ .ParamID = PARAM_VTARGET,
.ParamPrivileges = PARAM_PRIV_READ,
- .ParamValue =
0x32
},
+ .ParamValue =
(uint8_t)(3.3 * 10)
},
{ .ParamID = PARAM_SCK_DURATION,
.ParamPrivileges = PARAM_PRIV_READ | PARAM_PRIV_WRITE,
{ .ParamID = PARAM_SCK_DURATION,
.ParamPrivileges = PARAM_PRIV_READ | PARAM_PRIV_WRITE,
@@
-108,7
+108,7
@@
void V2Params_UpdateParamValues(void)
*
* \param[in] ParamID Parameter ID whose privileges are to be retrieved from the table
*
*
* \param[in] ParamID Parameter ID whose privileges are to be retrieved from the table
*
- * \return Privileges for the requested parameter, as a mask of PARAM_PRIV_* masks
+ * \return Privileges for the requested parameter, as a mask of
\c
PARAM_PRIV_* masks
*/
uint8_t V2Params_GetParameterPrivileges(const uint8_t ParamID)
{
*/
uint8_t V2Params_GetParameterPrivileges(const uint8_t ParamID)
{