aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf5340/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-02-21 22:41:23 +0100
committerDario Nieuwenhuis <[email protected]>2023-02-21 22:41:23 +0100
commitada3d5be7c9746819c9c0c73d3031a68ac20e6fe (patch)
tree0f3ab1421fb800950cd830ddcc2128412f22602b /examples/nrf5340/src
parentb05cd77a62bc8902db2ae2dd36ed58b88acee932 (diff)
nrf: rename UARTETWISPIn -> SERIALn
The UARTETWISPIn naming is quite horrible. With the nRF53, Nordic realized this and renamed the interrupts to SERIALn. Let's copy that for our peripheral names, in nrf53 and nrf91.
Diffstat (limited to 'examples/nrf5340/src')
-rw-r--r--examples/nrf5340/src/bin/uart.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf5340/src/bin/uart.rs b/examples/nrf5340/src/bin/uart.rs
index 0f2b7b1e3..5f448c2ba 100644
--- a/examples/nrf5340/src/bin/uart.rs
+++ b/examples/nrf5340/src/bin/uart.rs
@@ -15,7 +15,7 @@ async fn main(_spawner: Spawner) {
15 config.baudrate = uarte::Baudrate::BAUD115200; 15 config.baudrate = uarte::Baudrate::BAUD115200;
16 16
17 let irq = interrupt::take!(SERIAL0); 17 let irq = interrupt::take!(SERIAL0);
18 let mut uart = uarte::Uarte::new(p.UARTETWISPI0, irq, p.P1_00, p.P1_01, config); 18 let mut uart = uarte::Uarte::new(p.SERIAL0, irq, p.P1_00, p.P1_01, config);
19 19
20 info!("uarte initialized!"); 20 info!("uarte initialized!");
21 21