projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increased endpoint polling interval for all demos and projects to 5ms, as 1ms was...
[pub/USBasp.git]
/
Projects
/
Incomplete
/
StandaloneProgrammer
/
Lib
/
ProgrammerConfig.c
diff --git
a/Projects/Incomplete/StandaloneProgrammer/Lib/ProgrammerConfig.c
b/Projects/Incomplete/StandaloneProgrammer/Lib/ProgrammerConfig.c
index
47dd02f
..
9175236
100644
(file)
--- a/
Projects/Incomplete/StandaloneProgrammer/Lib/ProgrammerConfig.c
+++ b/
Projects/Incomplete/StandaloneProgrammer/Lib/ProgrammerConfig.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
2
.
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
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
@@
-40,7
+40,7
@@
struct
bool ProgrammerConfig_ProcessConfiguration(void)
{
bool ProgrammerConfig_ProcessConfiguration(void)
{
- memset(&ProgrammerConfig,
sizeof(ProgrammerConfig), 0x00
);
+ memset(&ProgrammerConfig,
0x00, sizeof(ProgrammerConfig)
);
if (!(pf_open("CONF.txt") == FR_OK))
{
if (!(pf_open("CONF.txt") == FR_OK))
{
@@
-61,8
+61,8
@@
bool ProgrammerConfig_ProcessConfiguration(void)
&ProgrammerConfig.SigBytes[1],
&ProgrammerConfig.SigBytes[2],
&ProgrammerConfig.SigBytes[3]);
&ProgrammerConfig.SigBytes[1],
&ProgrammerConfig.SigBytes[2],
&ProgrammerConfig.SigBytes[3]);
-
- sscanf(CurrentLine, "SPEED = %lu", &ProgrammerConfig.ProgrammingSpeed);
+
+ sscanf(CurrentLine, "SPEED = %
08
lu", &ProgrammerConfig.ProgrammingSpeed);
}
} while (CurrentLine);
}
} while (CurrentLine);