mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-21 17:35:06 +00:00
Fix test
This commit is contained in:
parent
55b98cafce
commit
5090a4bf4a
@ -17,16 +17,16 @@ static struct Device root = {
|
|||||||
.internal = NULL
|
.internal = NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const generic_device_config_dt test_device_0_config = {
|
static const generic_device_config_dt test_device_config = {
|
||||||
0,
|
0,
|
||||||
42,
|
42,
|
||||||
"hello"
|
"hello"
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct Device test_device_0 = {
|
static struct Device test_device = {
|
||||||
.address = 0,
|
.address = 0,
|
||||||
.name = "test-device",
|
.name = "test-device",
|
||||||
.config = &test_device_0_config,
|
.config = &test_device_config,
|
||||||
.parent = &root,
|
.parent = &root,
|
||||||
.internal = NULL
|
.internal = NULL
|
||||||
};
|
};
|
||||||
@ -49,7 +49,7 @@ static struct Device bool_test_device = {
|
|||||||
|
|
||||||
struct DtsDevice dts_devices[] = {
|
struct DtsDevice dts_devices[] = {
|
||||||
{ &root, "test,root", DTS_DEVICE_STATUS_OKAY },
|
{ &root, "test,root", DTS_DEVICE_STATUS_OKAY },
|
||||||
{ &test_device_0, "test,generic-device", DTS_DEVICE_STATUS_OKAY },
|
{ &test_device, "test,generic-device", DTS_DEVICE_STATUS_OKAY },
|
||||||
{ &bool_test_device, "test,bool-device", DTS_DEVICE_STATUS_OKAY },
|
{ &bool_test_device, "test,bool-device", DTS_DEVICE_STATUS_OKAY },
|
||||||
DTS_DEVICE_TERMINATOR
|
DTS_DEVICE_TERMINATOR
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user