Quick bugfix

Fixed the "pause bug".  It was actually a feature that I deliberately
coded in, but apparently it's really annoying.
This commit is contained in:
EspoTek 2016-10-14 10:53:05 +11:00
parent 4ae84d893c
commit 5c01c3c5a9
8 changed files with 5 additions and 5 deletions

View File

@ -277,7 +277,7 @@ void isoDriver::pauseEnable_CH1(bool enabled){
if(!properlyPaused()) {
delay = 0;
window = windowAtPause;
//window = windowAtPause;
}
if(!enabled) clearBuffers(1,0,1);
@ -290,7 +290,7 @@ void isoDriver::pauseEnable_CH2(bool enabled){
if(!properlyPaused()){
delay = 0;
window = windowAtPause;
//window = windowAtPause;
}
if(!enabled) clearBuffers(0,1,0);
@ -301,7 +301,7 @@ void isoDriver::pauseEnable_multimeter(bool enabled){
if(!properlyPaused()) {
delay = 0;
window = windowAtPause;
//window = windowAtPause;
}
if(!enabled) clearBuffers(1,0,0);

View File

@ -19,8 +19,8 @@
#include "libusbk.h"
#define ISO_PACKET_SIZE 1023
#define ISO_PACKETS_PER_CTX 30
#define NUM_FUTURE_CTX 4
#define ISO_PACKETS_PER_CTX 17
#define NUM_FUTURE_CTX 16
#define MAX_OVERLAP NUM_FUTURE_CTX+1
#define ISO_TIMER_PERIOD 8
#define MAX_VALID_INDEX 374