mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 19:05:07 +00:00
21 lines
368 B
C
21 lines
368 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <tactility/driver.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Set the module that owns a driver.
|
|
*
|
|
* @param driver The constructed driver.
|
|
* @param owner The owning module, or NULL.
|
|
*/
|
|
void driver_set_owner(struct Driver* driver, const struct Module* owner);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|