opendps icon indicating copy to clipboard operation
opendps copied to clipboard

Call UUI deactivation callbacks when changing function via tty

Open kanflo opened this issue 6 years ago • 1 comments

The following will cause "litter pixels" not visible when changing using the physical controls. Most likely the deactivation callbacks are not called.

% dpsctl -d /dev/cu.usbmodemC4D0B9DA3 -f funcgen
Changed function.
% dpsctl -d /dev/cu.usbmodemC4D0B9DA3 -f cv
Changed function.

kanflo avatar Oct 02 '19 19:10 kanflo

I can't find this in the code at a first glance. The call tree seems to be:

handle_set_function()
opendps_enable_function_idx()
uui_set_screen()

uui_set_screen should be calling the last screens deactivation function

Xenoamor avatar Oct 02 '19 23:10 Xenoamor