Device migrations, driver migrations and more (#575)
This commit is contained in:
committed by
GitHub
parent
2d768ef3a1
commit
2fbc44466a
@@ -0,0 +1,26 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
#include <tactility/check.h>
|
||||
#include <tactility/driver.h>
|
||||
#include <tactility/module.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern Driver cst816t_driver;
|
||||
|
||||
static error_t start() {
|
||||
return driver_construct_add(&cst816t_driver);
|
||||
}
|
||||
|
||||
static error_t stop() {
|
||||
return driver_remove_destruct(&cst816t_driver);
|
||||
}
|
||||
|
||||
Module cst816t_module = {
|
||||
.name = "cst816t",
|
||||
.start = start,
|
||||
.stop = stop,
|
||||
.symbols = nullptr,
|
||||
.internal = nullptr
|
||||
};
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user