improved driver creation fixed compile warnings in check.h hello_world example is now working again with lvgl
19 lines
265 B
C
19 lines
265 B
C
#pragma once
|
|
|
|
#include "nb_display.h"
|
|
#include "nb_touch.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct nb_hardware nb_hardware_t;
|
|
struct nb_hardware {
|
|
nb_display_t* _Nonnull display;
|
|
nb_touch_t* _Nullable touch;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|