changing window size does not affect trigger position

This commit is contained in:
Chris Esposito 2018-11-06 13:49:53 +11:00
parent 108bfdb3c6
commit 086c6634fc
1 changed files with 2 additions and 2 deletions

View File

@ -638,7 +638,7 @@ int isoDriver::trigger(void){
//Check for found
if(triggerSeeking && (triggerCountSeeking > TRIGGER_COUNT_THRESH)){
if(location == -1) location = i;
if(location == -1) location = i - TRIGGER_COUNT_THRESH;
triggerSeeking = false;
}
@ -672,7 +672,7 @@ int isoDriver::trigger(void){
//Check for found
if(triggerSeeking && (triggerCountSeeking > TRIGGER_COUNT_THRESH)){
if(location == -1) location = i;
if(location == -1) location = i - TRIGGER_COUNT_THRESH;
triggerSeeking = false;
}