Skip to content

Commit bef7b94

Browse files
author
Federico Fissore
committed
merge
2 parents 65708b6 + 21ef50b commit bef7b94

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -950,10 +950,10 @@ char getch(void)
950950
count++;
951951
if (count > MAX_TIME_COUNT)
952952
app_start();
953-
}
954-
955-
return UDR0;
956953
}
954+
955+
return UDR0;
956+
}
957957
else if(bootuart == 2) {
958958
while(!(UCSR1A & _BV(RXC1))) {
959959
/* 20060803 DojoCorp:: Addon coming from the previous Bootloader*/

libraries/SD/src/File.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ File::File(void) {
4444
}
4545

4646
File::~File(void) {
47+
close();
4748
// Serial.print("Deleted file object");
4849
}
4950

0 commit comments

Comments
 (0)