File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -332,15 +332,6 @@ impl PeripheralExt for Peripheral {
332
332
}
333
333
}
334
334
335
- // Handle clusters
336
- for ( cspec, cluster) in pmod. hash_iter ( "_clusters" ) {
337
- let cspec = cspec. str ( ) ?;
338
- if !cspec. starts_with ( '_' ) {
339
- self . process_cluster ( cspec, cluster. hash ( ) ?, update_fields)
340
- . with_context ( || format ! ( "According to `{cspec}`" ) ) ?;
341
- }
342
- }
343
-
344
335
// Handle registers
345
336
for ( rspec, register) in pmod {
346
337
let rspec = rspec. str ( ) ?;
@@ -364,6 +355,15 @@ impl PeripheralExt for Peripheral {
364
355
. with_context ( || format ! ( "Collecting registers in cluster `{cname}`" ) ) ?;
365
356
}
366
357
358
+ // Handle clusters
359
+ for ( cspec, cluster) in pmod. hash_iter ( "_clusters" ) {
360
+ let cspec = cspec. str ( ) ?;
361
+ if !cspec. starts_with ( '_' ) {
362
+ self . process_cluster ( cspec, cluster. hash ( ) ?, update_fields)
363
+ . with_context ( || format ! ( "According to `{cspec}`" ) ) ?;
364
+ }
365
+ }
366
+
367
367
Ok ( ( ) )
368
368
}
369
369
}
You can’t perform that action at this time.
0 commit comments