mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge #19395
19395: ztimer/ztimer64: uncrustify code r=miri64 a=miri64 Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
This commit is contained in:
commit
97e812704e
@ -430,7 +430,7 @@ bool ztimer_acquire(ztimer_clock_t *clock);
|
||||
#else
|
||||
static inline bool ztimer_acquire(ztimer_clock_t *clock)
|
||||
{
|
||||
(void) clock;
|
||||
(void)clock;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
@ -450,7 +450,7 @@ bool ztimer_release(ztimer_clock_t *clock);
|
||||
#else
|
||||
static inline bool ztimer_release(ztimer_clock_t *clock)
|
||||
{
|
||||
(void) clock;
|
||||
(void)clock;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
@ -56,7 +56,7 @@ void ztimer_convert_init(ztimer_convert_t *ztimer_convert,
|
||||
ztimer_convert_t tmp = {
|
||||
.lower = lower,
|
||||
.lower_entry = {
|
||||
.callback = (void (*)(void *))ztimer_handler,
|
||||
.callback = (void (*)(void *)) ztimer_handler,
|
||||
.arg = ztimer_convert,
|
||||
},
|
||||
.super.max_value = max_value,
|
||||
|
@ -101,7 +101,7 @@ void ztimer_convert_frac_init(ztimer_convert_frac_t *self,
|
||||
.super.super = { .ops = &ztimer_convert_frac_ops, },
|
||||
.super.lower = lower,
|
||||
.super.lower_entry =
|
||||
{ .callback = (void (*)(void *))ztimer_handler, .arg = &self->super, },
|
||||
{ .callback = (void (*)(void *)) ztimer_handler, .arg = &self->super, },
|
||||
};
|
||||
|
||||
ztimer_convert_frac_compute_scale(self, freq_self, freq_lower);
|
||||
|
Loading…
Reference in New Issue
Block a user