Kaynağa Gözat

Merge pull request #25 from FrankBoesing/patch-1

Fix read-after-write
main
Paul Stoffregen 9 yıl önce
ebeveyn
işleme
129cf09e02
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      SerialFlashChip.cpp

+ 1
- 1
SerialFlashChip.cpp Dosyayı Görüntüle

@@ -208,7 +208,7 @@ void SerialFlashChip::write(uint32_t addr, const void *buf, uint32_t len)
SPI.transfer(*p++);
} while (--pagelen > 0);
CSRELEASE();
busy = 1;
busy = 4;
SPI.endTransaction();
} while (len > 0);
}

Yükleniyor…
İptal
Kaydet