diff options
author | Simon Glass <sjg@chromium.org> | 2023-06-01 19:22:56 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-14 19:54:51 +0300 |
commit | 3f33b9c722a41e1577df110470521a014713ce2e (patch) | |
tree | 478d5f80d0ee4bf1ee28f3d73cf17c0f10484fed /test/boot | |
parent | d3db0216dc163594309a9930b31e3161261cd873 (diff) | |
download | u-boot-3f33b9c722a41e1577df110470521a014713ce2e.tar.xz |
expo: Rename EXPOACT_POINT to EXPOACT_POINT_ITEM
At present we only support a single menu, so all that can be pointed to
is the current menu item. Rename this action so that we can also add
an action for pointing to an object. This will allow cycling through
the objects in a scene.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/boot')
-rw-r--r-- | test/boot/expo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/boot/expo.c b/test/boot/expo.c index 453316ece7..c34eaeedd6 100644 --- a/test/boot/expo.c +++ b/test/boot/expo.c @@ -530,7 +530,7 @@ static int expo_render_image(struct unit_test_state *uts) ut_assertok(expo_action_get(exp, &act)); - ut_asserteq(EXPOACT_POINT, act.type); + ut_asserteq(EXPOACT_POINT_ITEM, act.type); ut_asserteq(ITEM2, act.select.id); ut_assertok(expo_render(exp)); @@ -570,7 +570,7 @@ static int expo_render_image(struct unit_test_state *uts) ut_assertok(expo_action_get(exp, &act)); - ut_asserteq(EXPOACT_POINT, act.type); + ut_asserteq(EXPOACT_POINT_ITEM, act.type); ut_asserteq(ITEM1, act.select.id); ut_assertok(expo_render(exp)); |