Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
Diff: states.cpp
- Revision:
- 24:e236faf66935
- Parent:
- 22:41163fb3fdc6
- Child:
- 25:56c4b22ec034
--- a/states.cpp Tue Jul 03 13:46:21 2018 +0000 +++ b/states.cpp Tue Jul 03 13:58:05 2018 +0000 @@ -123,7 +123,7 @@ audioOut.run(); // sets the timeout for the next state - stateTimeout.attach_us(&automaton::jump<Cued,NoResp>, ms_to_us(task.aud_dur_ms.value)); + stateTimeout.attach_us(&automaton::jump<Cued,NoResp>, trial.cued_dur_us); } void Cued::gate() {