@@ -127,28 +127,28 @@ impl Crazyflie {
127127 /// Power off the STM32 and deck subsystem
128128 ///
129129 /// Cuts power to the STM32 and decks while keeping the nRF51 powered.
130- /// The Crazyflie can be powered on again using `power_on_stm32 ()`.
130+ /// The Crazyflie can be powered on again using `power_on_stm32_domain ()`.
131131 /// This does not require a full connection.
132132 #[ staticmethod]
133133 #[ gen_stub( override_return_type( type_repr = "collections.abc.Coroutine[typing.Any, typing.Any, None]" ) ) ]
134- fn power_off_stm32 < ' py > ( py : Python < ' py > , link_context : & LinkContext , uri : String ) -> PyResult < Bound < ' py , PyAny > > {
134+ fn power_off_stm32_domain < ' py > ( py : Python < ' py > , link_context : & LinkContext , uri : String ) -> PyResult < Bound < ' py , PyAny > > {
135135 let inner = link_context. inner . clone ( ) ;
136136 pyo3_async_runtimes:: tokio:: future_into_py ( py, async move {
137- crazyflie_lib:: Crazyflie :: power_off_stm32 ( & inner, & uri) . await . map_err ( to_pyerr) ?;
137+ crazyflie_lib:: Crazyflie :: power_off_stm32_domain ( & inner, & uri) . await . map_err ( to_pyerr) ?;
138138 Ok ( ( ) )
139139 } )
140140 }
141141
142142 /// Power on the STM32 and deck subsystem
143143 ///
144- /// Powers the STM32 and decks back on after a `power_off_stm32 ()`.
144+ /// Powers the STM32 and decks back on after a `power_off_stm32_domain ()`.
145145 /// This does not require a full connection.
146146 #[ staticmethod]
147147 #[ gen_stub( override_return_type( type_repr = "collections.abc.Coroutine[typing.Any, typing.Any, None]" ) ) ]
148- fn power_on_stm32 < ' py > ( py : Python < ' py > , link_context : & LinkContext , uri : String ) -> PyResult < Bound < ' py , PyAny > > {
148+ fn power_on_stm32_domain < ' py > ( py : Python < ' py > , link_context : & LinkContext , uri : String ) -> PyResult < Bound < ' py , PyAny > > {
149149 let inner = link_context. inner . clone ( ) ;
150150 pyo3_async_runtimes:: tokio:: future_into_py ( py, async move {
151- crazyflie_lib:: Crazyflie :: power_on_stm32 ( & inner, & uri) . await . map_err ( to_pyerr) ?;
151+ crazyflie_lib:: Crazyflie :: power_on_stm32_domain ( & inner, & uri) . await . map_err ( to_pyerr) ?;
152152 Ok ( ( ) )
153153 } )
154154 }
0 commit comments