mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-01 02:28:53 +02:00
spiFlash: extract status register display from read_status_reg
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ void Altera::program(unsigned int offset)
|
||||
try {
|
||||
epcq.reset();
|
||||
epcq.read_id();
|
||||
epcq.read_status_reg();
|
||||
epcq.display_status_reg(epcq.read_status_reg());
|
||||
epcq.erase_and_prog(offset, data, length);
|
||||
} catch (std::exception &e) {
|
||||
printError(e.what());
|
||||
|
||||
Reference in New Issue
Block a user