Skip to content

Commit a722098

Browse files
author
camilo
committed
fix typo
1 parent 9694c85 commit a722098

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/input.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ bool input::digitalChannel::setTime( const input::event e, const qOS::duration_t
357357
tSteadyHigh = static_cast<qOS::clock_t>( t );
358358
break;
359359
case input::event::STEADY_IN_LOW:
360-
tSteadyHigh = static_cast<qOS::clock_t>( t );
360+
tSteadyLow = static_cast<qOS::clock_t>( t );
361361
break;
362362
default:
363363
retValue = false;
@@ -384,7 +384,7 @@ bool input::analogChannel::setTime( const input::event e, const qOS::duration_t
384384
tSteadyHigh = static_cast<qOS::clock_t>( t );
385385
break;
386386
case input::event::STEADY_IN_LOW:
387-
tSteadyHigh = static_cast<qOS::clock_t>( t );
387+
tSteadyLow = static_cast<qOS::clock_t>( t );
388388
break;
389389
default:
390390
retValue = false;

0 commit comments

Comments
 (0)