diff options
author | Josh Blum | 2013-07-23 11:57:08 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-23 11:57:08 -0700 |
commit | e3fa9993cd1e0f9bb5aea8a065646200b8701519 (patch) | |
tree | ee853a1d9b31266e469d04aaece11ae52b411ee5 | |
parent | 356a1d290297bf72a574876de0404512266ec845 (diff) | |
download | sandhi-e3fa9993cd1e0f9bb5aea8a065646200b8701519.tar.gz sandhi-e3fa9993cd1e0f9bb5aea8a065646200b8701519.tar.bz2 sandhi-e3fa9993cd1e0f9bb5aea8a065646200b8701519.zip |
gras: minor fix for closed feedback loop
This updates the input available state after handling preload.
Thanks Devin!
-rw-r--r-- | lib/input_handlers.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/input_handlers.cpp b/lib/input_handlers.cpp index 3c985ce..69468c0 100644 --- a/lib/input_handlers.cpp +++ b/lib/input_handlers.cpp @@ -118,4 +118,5 @@ void BlockActor::handle_input_update(const InputUpdateMessage &message, const Th const size_t reserve_bytes = data->input_configs[i].item_size*data->input_configs[i].reserve_items; const size_t maximum_bytes = data->input_configs[i].item_size*data->input_configs[i].maximum_items; data->input_queues.update_config(i, data->input_configs[i].item_size, preload_bytes, reserve_bytes, maximum_bytes); + this->update_input_avail(i); } |