File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -820,7 +820,7 @@ void uart_nrfx_isr(const struct device *uart)
820820
821821static void rx_timeout (struct k_timer * timer )
822822{
823- rx_rdy_evt (DEVICE_DT_GET ( DT_DRV_INST ( 0 ) ));
823+ rx_rdy_evt (DEVICE_DT_INST_GET ( 0 ));
824824}
825825
826826#if HW_FLOW_CONTROL_AVAILABLE
@@ -837,7 +837,7 @@ static void tx_timeout(struct k_timer *timer)
837837 evt .data .tx .len = uart0_cb .tx_buffer_length ;
838838 uart0_cb .tx_buffer_length = 0 ;
839839 uart0_cb .tx_counter = 0 ;
840- user_callback (DEVICE_DT_GET ( DT_DRV_INST ( 0 ) ), & evt );
840+ user_callback (DEVICE_DT_INST_GET ( 0 ), & evt );
841841}
842842#endif
843843
@@ -1093,7 +1093,7 @@ static int uart_nrfx_init(const struct device *dev)
10931093 IRQ_CONNECT (IRQN ,
10941094 IRQ_PRIO ,
10951095 uart_nrfx_isr ,
1096- DEVICE_DT_GET ( DT_DRV_INST ( 0 ) ),
1096+ DEVICE_DT_INST_GET ( 0 ),
10971097 0 );
10981098 irq_enable (IRQN );
10991099#endif
You can’t perform that action at this time.
0 commit comments