Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasusplus authored Dec 1, 2024
1 parent 60f5f0e commit a063f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kservice.c
Original file line number Diff line number Diff line change
Expand Up @@ -1029,12 +1029,12 @@ RTM_EXPORT(rt_free_align);
#ifdef RT_USING_PUNY_FFS
int __rt_ffs(rt_int32_t value) {
int position = 1; // position start from 1

if (value == 0)
{
return 0; // 0 means no bit 1
}

// search half range
if ((value & 0xFFFF) == 0)
{
Expand Down

0 comments on commit a063f50

Please sign in to comment.