mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fix accidental comment paste.
This commit is contained in:
parent
d95bee640e
commit
7e826ab32b
2 changed files with 3 additions and 4 deletions
|
@ -681,8 +681,7 @@ public:
|
||||||
#define P8 Pa1 /* 8 - PA1 */
|
#define P8 Pa1 /* 8 - PA1 */
|
||||||
#define P9 Pa2 /* 9 - PA2 */
|
#define P9 Pa2 /* 9 - PA2 */
|
||||||
#define P10 Pa3 /* 10 - PA3 */
|
#define P10 Pa3 /* 10 - PA3 */
|
||||||
#define P11 Pa4 /* 11 digitalWrite(4, 0);
|
#define P11 Pa4 /* 11 - PA4 */
|
||||||
- PA4 */
|
|
||||||
#define P12 Pa5 /* 12 - PA5 */
|
#define P12 Pa5 /* 12 - PA5 */
|
||||||
#define P13 Pc1 /* 13 - PC1 */
|
#define P13 Pc1 /* 13 - PC1 */
|
||||||
#define P14 Pc0 /* 14 - PC0 */
|
#define P14 Pc0 /* 14 - PC0 */
|
||||||
|
|
|
@ -503,7 +503,7 @@ void loop() {
|
||||||
if (isfat(parts[cpart].type)) {
|
if (isfat(parts[cpart].type)) {
|
||||||
Fats[cpart] = new PFAT(&sto[i], cpart, parts[cpart].firstSector);
|
Fats[cpart] = new PFAT(&sto[i], cpart, parts[cpart].firstSector);
|
||||||
//int r = Fats[cpart]->Good();
|
//int r = Fats[cpart]->Good();
|
||||||
if (Fats[cpart]->Good()) {
|
if (Fats[cpart]->MountStatus()) {
|
||||||
delete Fats[cpart];
|
delete Fats[cpart];
|
||||||
Fats[cpart] = NULL;
|
Fats[cpart] = NULL;
|
||||||
} else cpart++;
|
} else cpart++;
|
||||||
|
@ -514,7 +514,7 @@ void loop() {
|
||||||
// try superblock
|
// try superblock
|
||||||
Fats[cpart] = new PFAT(&sto[i], cpart, 0);
|
Fats[cpart] = new PFAT(&sto[i], cpart, 0);
|
||||||
//int r = Fats[cpart]->Good();
|
//int r = Fats[cpart]->Good();
|
||||||
if (Fats[cpart]->Good()) {
|
if (Fats[cpart]->MountStatus()) {
|
||||||
//printf_P(PSTR("Superblock error %x\r\n"), r);
|
//printf_P(PSTR("Superblock error %x\r\n"), r);
|
||||||
delete Fats[cpart];
|
delete Fats[cpart];
|
||||||
Fats[cpart] = NULL;
|
Fats[cpart] = NULL;
|
||||||
|
|
Loading…
Reference in a new issue