Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event_periodic_callback: remove unnecessary dependency #18610

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sys/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ endif
ifneq (,$(filter event_periodic_callback,$(USEMODULE)))
USEMODULE += event_callback
USEMODULE += event_periodic
USEMODULE += event_thread
endif

ifneq (,$(filter emcute,$(USEMODULE)))
Expand Down
1 change: 0 additions & 1 deletion sys/include/event/periodic_callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "event/callback.h"
#include "event/periodic.h"
#include "event/thread.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions tests/event_periodic_callback/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include ../Makefile.tests_common

USEMODULE += event_periodic_callback
USEMODULE += event_thread
USEMODULE += ztimer_msec

include $(RIOTBASE)/Makefile.include
1 change: 1 addition & 0 deletions tests/event_periodic_callback/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <stdio.h>

#include "event/periodic_callback.h"
#include "event/thread.h"

static void _event_cb(void *ctx)
{
Expand Down