Skip to content

Commit

Permalink
fixup! Add riot os blinky example
Browse files Browse the repository at this point in the history
Adjust to changes in main
  • Loading branch information
LasseRosenow committed Oct 16, 2024
1 parent e60a97f commit eeb9de7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/riot/src/blinky/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ struct MyReactor {

void timer_handler(Reaction *_self) {
LED0_TOGGLE;
printf("Hello World @ %u\n", (uint32_t)_self->parent->env->current_tag.time);
Environment *env = _self->parent->env;
printf("Hello World @ %lld\n", env->get_elapsed_physical_time(env));
}

void MyReaction_ctor(MyReaction *self, Reactor *parent) {
Expand Down

0 comments on commit eeb9de7

Please sign in to comment.