Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Consani Mattia committed Oct 18, 2023
1 parent de79010 commit b2e1a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/applications/example_spi_host_quadIO/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ int main(int argc, char *argv[])

// W25Q128JW requires the QE (Quad Enable) bit to be set in order to operate at quad speed
// The Verilog flash do not model this behavior and no actions are required
// #ifdef TARGET_PYNQ_Z2
#ifdef TARGET_PYNQ_Z2

// ----------------COMMAND----------------
// Read Status Register 2
Expand Down Expand Up @@ -277,7 +277,7 @@ int main(int argc, char *argv[])
spi_set_command(&spi_host, reg2_write_2);
spi_wait_for_ready(&spi_host);
// ----------------END COMMAND----------------
// #endif
#endif


volatile uint32_t data_addr = flash_original;
Expand Down

0 comments on commit b2e1a5b

Please sign in to comment.