Skip to content

Commit

Permalink
fix spi_write
Browse files Browse the repository at this point in the history
  • Loading branch information
davideschiavone committed Feb 12, 2024
1 parent e81fe9d commit 872ff1d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sw/applications/example_spi_write/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ int main(int argc, char *argv[]) {
PRINTF("Testing simple write...\n");
errors += test_write(TEST_BUFFER, BYTES_TO_WRITE);

if(errors) return EXIT_FAILURE;

#ifndef ON_CHIP
// Test simple write on flash_only data
PRINTF("Testing simple write. on flash only data..\n");
Expand Down Expand Up @@ -266,7 +264,6 @@ uint32_t check_result(uint8_t *test_buffer, uint32_t len) {
if (test_buffer[i] != flash_data_char[i]) {
PRINTF("Error at position %d: expected %x, got %x\n", i, test_buffer[i], flash_data_char[i]);
errors++;
break;
}
}

Expand Down

0 comments on commit 872ff1d

Please sign in to comment.