mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
event_periodic_callback: remove unnecessary dependency
This commit is contained in:
parent
f03f5384c1
commit
0079b0c52f
@ -528,7 +528,6 @@ endif
|
|||||||
ifneq (,$(filter event_periodic_callback,$(USEMODULE)))
|
ifneq (,$(filter event_periodic_callback,$(USEMODULE)))
|
||||||
USEMODULE += event_callback
|
USEMODULE += event_callback
|
||||||
USEMODULE += event_periodic
|
USEMODULE += event_periodic
|
||||||
USEMODULE += event_thread
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter emcute,$(USEMODULE)))
|
ifneq (,$(filter emcute,$(USEMODULE)))
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include "event/callback.h"
|
#include "event/callback.h"
|
||||||
#include "event/periodic.h"
|
#include "event/periodic.h"
|
||||||
#include "event/thread.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
USEMODULE += event_periodic_callback
|
USEMODULE += event_periodic_callback
|
||||||
|
USEMODULE += event_thread
|
||||||
USEMODULE += ztimer_msec
|
USEMODULE += ztimer_msec
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "event/periodic_callback.h"
|
#include "event/periodic_callback.h"
|
||||||
|
#include "event/thread.h"
|
||||||
|
|
||||||
static void _event_cb(void *ctx)
|
static void _event_cb(void *ctx)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user