mirror of https://github.com/EspoTek/Labrador.git
changing window size does not affect trigger position
This commit is contained in:
parent
108bfdb3c6
commit
086c6634fc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue