File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -163,13 +163,12 @@ pub fn init() -> Result<(), Error> {
163163 let heap_start = HEAP_MEMORY . as_mut_ptr ( ) as * mut _ ;
164164 let heap_size = HEAP_MEMORY . len ( ) * core:: mem:: size_of :: < u32 > ( ) ;
165165 cortex_m:: interrupt:: free ( |cs| {
166- * LIBRARY_ALLOCATOR . borrow ( cs) . borrow_mut ( ) =
167- Some ( Heap :: new ( heap_start, heap_size) )
166+ * LIBRARY_ALLOCATOR . borrow ( cs) . borrow_mut ( ) = Some ( Heap :: new ( heap_start, heap_size) )
168167 } ) ;
169168 }
170169
171170 // Tell nrf_modem what memory it can use.
172- static PARAMS : grounded:: uninit:: GroundedCell < nrfxlib_sys:: nrf_modem_init_params > =
171+ static PARAMS : grounded:: uninit:: GroundedCell < nrfxlib_sys:: nrf_modem_init_params_t > =
173172 grounded:: uninit:: GroundedCell :: uninit ( ) ;
174173
175174 let params = sys:: nrf_modem_init_params_t {
You can’t perform that action at this time.
0 commit comments