diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-05-12 18:22:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-12 18:22:57 -0700 |
| commit | 277e8d528bef84cefe854d527bf5f822e0ec8ceb (patch) | |
| tree | beaa452a5dacf21e663a884e358e2ac2d223b777 /shared-module/vectorio/__init__.h | |
| parent | bc40034a08a7c3b371a13610a896e1ca40c4a329 (diff) | |
| parent | 75f9969860870a4ae636c74ae210275413b13c2f (diff) | |
Merge branch 'master' into Optical-Encoder-Module
Diffstat (limited to 'shared-module/vectorio/__init__.h')
| -rw-r--r-- | shared-module/vectorio/__init__.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/shared-module/vectorio/__init__.h b/shared-module/vectorio/__init__.h new file mode 100644 index 000000000..6ae381f06 --- /dev/null +++ b/shared-module/vectorio/__init__.h @@ -0,0 +1,15 @@ +#ifndef MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_INIT_H +#define MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_INIT_H + +#include "py/obj.h" + +typedef void event_function(mp_obj_t obj); + +typedef struct { + mp_obj_t obj; + event_function *event; +} vectorio_event_t; + + +#endif + |
