Skip to content

Commit

Permalink
Restored digital threshold value read on digital channel properties (…
Browse files Browse the repository at this point in the history
…now that value has been cached on all drivers implementing it).
  • Loading branch information
fredzo committed Oct 7, 2024
1 parent b5763ff commit 4d98412
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ngscopeclient/StreamBrowserDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,7 @@ bool StreamBrowserDialog::DoRender()

if(isDigital)
{
// TODO: Digital Threshold value is not cached on most scopes... uncomment the code bellow ONLY once it has been cached on all drivers
auto threshold_txt = Unit(Unit::UNIT_VOLTS).PrettyPrint(0/*scope->GetDigitalThreshold(i)*/);
auto threshold_txt = Unit(Unit::UNIT_VOLTS).PrettyPrint(scope->GetDigitalThreshold(i));

bool clicked = false;
bool hovered = false;
Expand Down

0 comments on commit 4d98412

Please sign in to comment.