55//
66// SPDX-License-Identifier: Apache-2.0
77
8- use bittide_hal:: hals:: soft_ugn_demo_mu:: DeviceInstances ;
9- use bittide_hal:: manual_additions:: calendar:: RingbufferCalendar ;
10- use bittide_hal:: shared_devices:: { Transceivers , Uart } ;
8+ use bittide_hal:: {
9+ hals:: soft_ugn_demo_mu:: DeviceInstances ,
10+ manual_additions:: calendar:: RingbufferCalendar ,
11+ shared_devices:: { Transceivers , Uart } ,
12+ } ;
1113use bittide_sys:: stability_detector:: Stability ;
1214use core:: panic:: PanicInfo ;
1315use ufmt:: uwriteln;
@@ -132,7 +134,7 @@ fn main() -> ! {
132134 "Capture UGN {}: local = {}, remote = {}" ,
133135 i,
134136 capture_ugn. local_counter( ) ,
135- capture_ugn. remote_counter( )
137+ capture_ugn. remote_counter( ) ,
136138 )
137139 . unwrap ( ) ;
138140 * done = true ;
@@ -153,7 +155,7 @@ fn main() -> ! {
153155
154156 loop {
155157 for ( i, eb) in elastic_buffers. iter ( ) . enumerate ( ) {
156- let occupancy = eb. data_count ( ) ;
158+ let occupancy = eb. data_count ( ) . into_inner ( ) ;
157159 let ( min, max) = occupancy_ranges[ i] ;
158160
159161 // Check if occupancy exceeds current range
0 commit comments