From 2fb619ed6eac19afd7ed3b2c7baa4adc253f418e Mon Sep 17 00:00:00 2001 From: turret Date: Sat, 30 Mar 2024 20:35:30 -0500 Subject: net: event handler in subsys.h: include init.h to ensure l5_initcall availability also: add example/ directory to provide some user-code in the skeleton (will likely be made defunct as i make the remainder of the skeleton, such as a /ping command and user action and maybe some buttons, which will require more organisation) --- include/dbs/subsys.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/dbs/subsys.h') diff --git a/include/dbs/subsys.h b/include/dbs/subsys.h index 1885a80..fa3b423 100644 --- a/include/dbs/subsys.h +++ b/include/dbs/subsys.h @@ -1,6 +1,8 @@ #ifndef __SUBSYS_H #define __SUBSYS_H +#include + int __impl_start_subsystem(char *name, int (*fn)(void)); #define start_subsystem(fn) __impl_start_subsystem(#fn, fn) #define declare_subsystem(fn) \ -- cgit v1.2.3