Control lib: Add option to store parameters

This commit is contained in:
Lorenz Meier
2015-09-05 17:28:00 +02:00
parent 1f66c26a62
commit 597bfc340a
2 changed files with 6 additions and 0 deletions
@@ -97,6 +97,11 @@ void BlockParam<T>::update() {
if (_handle != PARAM_INVALID) param_get(_handle, &_val);
}
template <class T>
void BlockParam<T>::commit() {
if (_handle != PARAM_INVALID) param_set(_handle, &_val);
}
template <class T>
BlockParam<T>::~BlockParam() {};