mirror of https://github.com/EspoTek/Labrador.git
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:
parent
4ae84d893c
commit
5c01c3c5a9
Binary file not shown.
|
@ -277,7 +277,7 @@ void isoDriver::pauseEnable_CH1(bool enabled){
|
||||||
|
|
||||||
if(!properlyPaused()) {
|
if(!properlyPaused()) {
|
||||||
delay = 0;
|
delay = 0;
|
||||||
window = windowAtPause;
|
//window = windowAtPause;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!enabled) clearBuffers(1,0,1);
|
if(!enabled) clearBuffers(1,0,1);
|
||||||
|
@ -290,7 +290,7 @@ void isoDriver::pauseEnable_CH2(bool enabled){
|
||||||
|
|
||||||
if(!properlyPaused()){
|
if(!properlyPaused()){
|
||||||
delay = 0;
|
delay = 0;
|
||||||
window = windowAtPause;
|
//window = windowAtPause;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!enabled) clearBuffers(0,1,0);
|
if(!enabled) clearBuffers(0,1,0);
|
||||||
|
@ -301,7 +301,7 @@ void isoDriver::pauseEnable_multimeter(bool enabled){
|
||||||
|
|
||||||
if(!properlyPaused()) {
|
if(!properlyPaused()) {
|
||||||
delay = 0;
|
delay = 0;
|
||||||
window = windowAtPause;
|
//window = windowAtPause;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!enabled) clearBuffers(1,0,0);
|
if(!enabled) clearBuffers(1,0,0);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -19,8 +19,8 @@
|
||||||
#include "libusbk.h"
|
#include "libusbk.h"
|
||||||
|
|
||||||
#define ISO_PACKET_SIZE 1023
|
#define ISO_PACKET_SIZE 1023
|
||||||
#define ISO_PACKETS_PER_CTX 30
|
#define ISO_PACKETS_PER_CTX 17
|
||||||
#define NUM_FUTURE_CTX 4
|
#define NUM_FUTURE_CTX 16
|
||||||
#define MAX_OVERLAP NUM_FUTURE_CTX+1
|
#define MAX_OVERLAP NUM_FUTURE_CTX+1
|
||||||
#define ISO_TIMER_PERIOD 8
|
#define ISO_TIMER_PERIOD 8
|
||||||
#define MAX_VALID_INDEX 374
|
#define MAX_VALID_INDEX 374
|
||||||
|
|
Loading…
Reference in New Issue