mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-19 16:35:05 +00:00
Fix for test
This commit is contained in:
parent
8f55942f3e
commit
f42b3b30b0
@ -10,22 +10,23 @@ static const root_config_dt root_config = {
|
||||
};
|
||||
|
||||
static struct Device root = {
|
||||
.address = 0,
|
||||
.address = 0,
|
||||
.name = "/",
|
||||
.config = &root_config,
|
||||
.parent = NULL,
|
||||
.internal = NULL
|
||||
};
|
||||
|
||||
static const generic_device_config_dt test_device@0_config = {
|
||||
static const generic_device_config_dt test_device_0_config = {
|
||||
0,
|
||||
42,
|
||||
"hello"
|
||||
};
|
||||
|
||||
static struct Device test_device@0 = {
|
||||
static struct Device test_device_0 = {
|
||||
.address = 0,
|
||||
.name = "test-device@0",
|
||||
.config = &test_device@0_config,
|
||||
.config = &test_device_0_config,
|
||||
.parent = &root,
|
||||
.internal = NULL
|
||||
};
|
||||
@ -47,7 +48,7 @@ static struct Device bool_test_device = {
|
||||
|
||||
struct DtsDevice dts_devices[] = {
|
||||
{ &root, "test,root", DTS_DEVICE_STATUS_OKAY },
|
||||
{ &test_device@0, "test,generic-device", DTS_DEVICE_STATUS_OKAY },
|
||||
{ &test_device_0, "test,generic-device", DTS_DEVICE_STATUS_OKAY },
|
||||
{ &bool_test_device, "test,bool-device", DTS_DEVICE_STATUS_OKAY },
|
||||
DTS_DEVICE_TERMINATOR
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user