summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
c780810)
Without this, the edit may be left in editable mode once the
external clock was enabled and disabled again.
const shared_ptr<sigrok::Device> sr_dev = device->device();
const shared_ptr<sigrok::Device> sr_dev = device->device();
+ sample_rate_.allow_user_entered_values(false);
if (sr_dev->config_check(ConfigKey::EXTERNAL_CLOCK, Capability::GET)) {
try {
auto gvar = sr_dev->config_get(ConfigKey::EXTERNAL_CLOCK);
if (sr_dev->config_check(ConfigKey::EXTERNAL_CLOCK, Capability::GET)) {
try {
auto gvar = sr_dev->config_get(ConfigKey::EXTERNAL_CLOCK);