mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
board implementation cleanup
implemented proper C/C++ practices other cleanup
This commit is contained in:
parent
11f26d4980
commit
570df0640d
@ -1,6 +1,4 @@
|
||||
#define NANOBAKE_BOARD_2432S024_H
|
||||
#pragma once
|
||||
|
||||
#include "board_2432s024_display.h"
|
||||
#include "board_2432s024_touch.h"
|
||||
|
||||
#endif // NANOBAKE_BOARD_2432S024_H
|
||||
|
||||
@ -1,8 +1,13 @@
|
||||
#ifndef NANOBAKE_BOARD_2432S024_DISPLAY_H
|
||||
#define NANOBAKE_BOARD_2432S024_DISPLAY_H
|
||||
#pragma once
|
||||
|
||||
#include "nb_display.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern NbDisplayDriver board_2432s024_create_display_driver();
|
||||
|
||||
#endif //NANOBAKE_BOARD_2432S024_DISPLAY_H
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1,8 +1,13 @@
|
||||
#ifndef NANOBAKE_BOARD_2432S024_TOUCH_H
|
||||
#define NANOBAKE_BOARD_2432S024_TOUCH_H
|
||||
#pragma once
|
||||
|
||||
#include "nb_touch.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
NbTouchDriver board_2432s024_create_touch_driver();
|
||||
|
||||
#endif // NANOBAKE_BOARD_2432S024_TOUCH_H
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#include "nanobake.h"
|
||||
|
||||
// Hardware
|
||||
#include "board_2432s024_touch.h"
|
||||
#include "board_2432s024_display.h"
|
||||
#include "board_2432s024.h"
|
||||
|
||||
// Apps
|
||||
#include "hello_world/hello_world.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user