From fd880504f3178e2f31eeced535306ce4eee7287a Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Fri, 28 Feb 2014 01:06:17 +0000 Subject: [PATCH] simduino: Small fix Not sure how this got commited, it was not compiling. --- examples/board_simduino/simduino.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/board_simduino/simduino.c b/examples/board_simduino/simduino.c index 3e4b344..14a0045 100644 --- 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); -- 2.39.5