2 /* -------------------------------------------------------------------------- */
7 /* -------------------------------------------------------------------------- */
9 static int handles_resource(char* name);
10 static void sync_resource(ni_resource* res);
12 /* -------------------------------------------------------------------------- */
14 EXPORT int testni_module_loaded(void)
16 ni_register_driver("testni", handles_resource, sync_resource);
18 k_log_out("Test NI Driver initialised");
23 EXPORT int testni_module_event(void* data)
25 k_log_out("Test NI got event: %p", data);
31 EXPORT int testni_module_tick(void)
36 /* -------------------------------------------------------------------------- */
38 int handles_resource(char* name)
43 void sync_resource(ni_resource* res)
47 /* -------------------------------------------------------------------------- */