3 * Author : Robin Krens <robin@robinkrens.nl>
5 * Last Modified Date: 18.01.2023
6 * Last Modified By : Robin Krens <robin@robinkrens.nl>
15 #include "libsi24reg.h"
18 const si24_opts_t *opts;
19 const si24_ioctl_t *ctl;
20 si24_event_handler_t eh;
23 si24_t* si24_init(const si24_opts_t *opts, si24_event_handler_t eh)
25 struct si24_t *si = (si24_t*) calloc(1, sizeof(si24_t));
30 si->ctl = opts->ioctl;