| 89 | } |
| 90 | |
| 91 | bool DeviceAgent::set_channel_name(int ch_index, const char *name) |
| 92 | { |
| 93 | assert(_dev_handle); |
| 94 | |
| 95 | if (ds_set_device_channel_name(ch_index, name) == SR_OK){ |
| 96 | config_changed(); |
| 97 | return true; |
| 98 | } |
| 99 | return false; |
| 100 | } |
| 101 | |
| 102 | uint64_t DeviceAgent::get_sample_limit() |
| 103 | { |
no test coverage detected