|
13 | 13 | // -------------------- //
|
14 | 14 |
|
15 | 15 | #define scsi_host_async_read_wrap_target 0
|
16 |
| -#define scsi_host_async_read_wrap 6 |
| 16 | +#define scsi_host_async_read_wrap 7 |
17 | 17 |
|
18 | 18 | static const uint16_t scsi_host_async_read_program_instructions[] = {
|
19 | 19 | // .wrap_target
|
20 | 20 | 0x90a0, // 0: pull block side 1
|
21 | 21 | 0xb027, // 1: mov x, osr side 1
|
22 | 22 | 0x3013, // 2: wait 0 gpio, 19 side 1
|
23 |
| - 0x4009, // 3: in pins, 9 side 0 |
24 |
| - 0x4067, // 4: in null, 7 side 0 |
25 |
| - 0x2093, // 5: wait 1 gpio, 19 side 0 |
26 |
| - 0x1042, // 6: jmp x--, 2 side 1 |
| 23 | + 0xb142, // 3: nop side 1 [1] |
| 24 | + 0x4009, // 4: in pins, 9 side 0 |
| 25 | + 0x4067, // 5: in null, 7 side 0 |
| 26 | + 0x2093, // 6: wait 1 gpio, 19 side 0 |
| 27 | + 0x1042, // 7: jmp x--, 2 side 1 |
27 | 28 | // .wrap
|
28 | 29 | };
|
29 | 30 |
|
30 | 31 | #if !PICO_NO_HARDWARE
|
31 | 32 | static const struct pio_program scsi_host_async_read_program = {
|
32 | 33 | .instructions = scsi_host_async_read_program_instructions,
|
33 |
| - .length = 7, |
| 34 | + .length = 8, |
34 | 35 | .origin = -1,
|
35 | 36 | };
|
36 | 37 |
|
|
0 commit comments