Skip to content

Commit 82530d6

Browse files
committed
tests: Change check_init_priorities fake device's priorities relevantly
Now that init ordering got back to a unique number (automatically computed or provided manually with legacy macros) the priorities need to be sorted relevantly so the erroneous ordering still matches the expectations. When legacy macros will be removed after a deprecation period, such test and most probably check_init_priorities.py tool as well won't make sense anymore. Signed-off-by: Tomasz Bursztyka <[email protected]>
1 parent d99415a commit 82530d6

File tree

1 file changed

+2
-2
lines changed
  • tests/misc/check_init_priorities/src

1 file changed

+2
-2
lines changed

tests/misc/check_init_priorities/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
DEVICE_DT_DEFINE(DT_INST(0, vnd_gpio_device), NULL, NULL, NULL, NULL,
1010
PRE_KERNEL_1, 50, NULL);
1111
DEVICE_DT_DEFINE(DT_INST(0, vnd_i2c), NULL, NULL, NULL, NULL,
12-
PRE_KERNEL_1, 50, NULL);
12+
PRE_KERNEL_1, 51, NULL);
1313

1414
DEVICE_DT_DEFINE(DT_INST(0, vnd_i2c_device), NULL, NULL, NULL, NULL,
1515
PRE_KERNEL_1, 49, NULL);
1616
DEVICE_DT_DEFINE(DT_INST(1, vnd_i2c_device), NULL, NULL, NULL, NULL,
17-
PRE_KERNEL_1, 50, NULL);
17+
PRE_KERNEL_1, 52, NULL);

0 commit comments

Comments
 (0)