Skip to content

Commit

Permalink
Update coretime.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
seadanda and kianenigma authored Oct 18, 2024
1 parent 4e0babd commit c05ed3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ impl CoretimeInterface for CoretimeAllocator {
);

// Set the parts of the `Idle` assignment we injected at the start of the vec above.
assignment_truncated[0].1 = 57_600u16.saturating_sub(total_parts);
assignment_truncated[0].1 = PartsOf57600::FULL.saturating_sub(total_parts);
assignment_truncated
} else {
assignment
Expand Down

0 comments on commit c05ed3e

Please sign in to comment.