File tree 1 file changed +2
-3
lines changed
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> {
163
163
let heap_start = HEAP_MEMORY . as_mut_ptr ( ) as * mut _ ;
164
164
let heap_size = HEAP_MEMORY . len ( ) * core:: mem:: size_of :: < u32 > ( ) ;
165
165
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) )
168
167
} ) ;
169
168
}
170
169
171
170
// 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 > =
173
172
grounded:: uninit:: GroundedCell :: uninit ( ) ;
174
173
175
174
let params = sys:: nrf_modem_init_params_t {
You can’t perform that action at this time.
0 commit comments