diff options
Diffstat (limited to 'embassy-rp/src/pio_programs/uart.rs')
| -rw-r--r-- | embassy-rp/src/pio_programs/uart.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-rp/src/pio_programs/uart.rs b/embassy-rp/src/pio_programs/uart.rs index c643f1063..641daca61 100644 --- a/embassy-rp/src/pio_programs/uart.rs +++ b/embassy-rp/src/pio_programs/uart.rs | |||
| @@ -19,7 +19,7 @@ pub struct PioUartTxProgram<'a, PIO: Instance> { | |||
| 19 | impl<'a, PIO: Instance> PioUartTxProgram<'a, PIO> { | 19 | impl<'a, PIO: Instance> PioUartTxProgram<'a, PIO> { |
| 20 | /// Load the uart tx program into the given pio | 20 | /// Load the uart tx program into the given pio |
| 21 | pub fn new(common: &mut Common<'a, PIO>) -> Self { | 21 | pub fn new(common: &mut Common<'a, PIO>) -> Self { |
| 22 | let prg = pio_proc::pio_asm!( | 22 | let prg = pio::pio_asm!( |
| 23 | r#" | 23 | r#" |
| 24 | .side_set 1 opt | 24 | .side_set 1 opt |
| 25 | 25 | ||
| @@ -99,7 +99,7 @@ pub struct PioUartRxProgram<'a, PIO: Instance> { | |||
| 99 | impl<'a, PIO: Instance> PioUartRxProgram<'a, PIO> { | 99 | impl<'a, PIO: Instance> PioUartRxProgram<'a, PIO> { |
| 100 | /// Load the uart rx program into the given pio | 100 | /// Load the uart rx program into the given pio |
| 101 | pub fn new(common: &mut Common<'a, PIO>) -> Self { | 101 | pub fn new(common: &mut Common<'a, PIO>) -> Self { |
| 102 | let prg = pio_proc::pio_asm!( | 102 | let prg = pio::pio_asm!( |
| 103 | r#" | 103 | r#" |
| 104 | ; Slightly more fleshed-out 8n1 UART receiver which handles framing errors and | 104 | ; Slightly more fleshed-out 8n1 UART receiver which handles framing errors and |
| 105 | ; break conditions more gracefully. | 105 | ; break conditions more gracefully. |
