when E1 = E2, PeriodicEvent = false

This commit is contained in:
YiChin
2020-04-15 10:26:46 +08:00
parent 34e9c644c5
commit e27204bd50
3 changed files with 7 additions and 4 deletions
@@ -29,7 +29,7 @@
*/
#define BOARD_ANGUS
#define BOARD_C688
typedef struct _formula{
@@ -4,9 +4,9 @@
#define VERSION_DATE_YEAR 20
#define VERSION_DATE_MONTH 4
#define VERSION_DATE_DAY 13
#define VERSION_DATE_HOUR 11
#define VERSION_DATE_MINUTE 32
#define VERSION_DATE_DAY 15
#define VERSION_DATE_HOUR 10
#define VERSION_DATE_MINUTE 26
// this is NOT the version hash !!
// it's the last version hash
@@ -241,6 +241,9 @@ static void EliteADCControl(WorkMode *WorkModeData) {
break;
}
case CYCLIC_VOLTAMMETRY:{
if (INSTRUCTION.VoltOrigin == INSTRUCTION.VoltFinal) {
PeriodicEvent = false;
}
CV3_Plot(WorkModeData->CV3);
break;
}