projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
2eb70dd
)
Commit
fd880504f3178e2f31eeced535306ce4eee7287a
author
Michel Pollet
<buserror@gmail.com>
Fri, 28 Feb 2014 01:06:17 +0000
(
01:06
+0000)
committer
Michel Pollet
<buserror@gmail.com>
Fri, 28 Feb 2014 01:06:17 +0000
(
01:06
+0000)
Not sure how this got commited, it was not compiling.
examples/board_simduino/simduino.c
patch
|
blob
|
history
|
download
diff --git
a/examples/board_simduino/simduino.c
b/examples/board_simduino/simduino.c
index 3e4b3446960052f5f401d2ed8912cb302eecced8..14a0045501eebb129e959dd826ea23c0b1248e88 100644
(file)
--- a/
examples/board_simduino/simduino.c
+++ b/
examples/board_simduino/simduino.c
@@
-156,7
+156,7
@@
void avr_special_init( avr_t * avr, void * data)
{
struct avr_flash *flash_data = (struct avr_flash *)data;
// open the file
- avr_flash_fd = open(flash_data->avr_flash_path, O_RDWR|O_CREAT, 0644);
+
flash_data->
avr_flash_fd = open(flash_data->avr_flash_path, O_RDWR|O_CREAT, 0644);
if (flash_data->avr_flash_fd < 0) {
perror(flash_data->avr_flash_path);
exit(1);