Browse Source

add XXL workflow

Thomas Buck 1 year ago
parent
commit
ff52199e2b
1 changed files with 22 additions and 1 deletions
  1. 22
    1
      src/workflow.c

+ 22
- 1
src/workflow.c View File

37
 
37
 
38
 static const struct workflow wf[WF_MAX_FLOWS] = {
38
 static const struct workflow wf[WF_MAX_FLOWS] = {
39
     {
39
     {
40
+        .name = "XXL",
41
+        .author = "xythobuz",
42
+        .steps = {
43
+            { .op = OP_WAIT_TEMPERATURE, .val = 1850 },
44
+            { .op = OP_WAIT_TIME, .val = 10000 },
45
+            { .op = OP_PUMP_TIME, .val = 8000 },
46
+
47
+            { .op = OP_WAIT_TEMPERATURE, .val = 1950 },
48
+            { .op = OP_WAIT_TIME, .val = 5000 },
49
+            { .op = OP_PUMP_TIME, .val = 25000 },
50
+
51
+            { .op = OP_WAIT_TEMPERATURE, .val = 2050 },
52
+            { .op = OP_WAIT_TIME, .val = 5000 },
53
+            { .op = OP_PUMP_TIME, .val = 25000 },
54
+
55
+            NOTIFY, NOTIFY, NOTIFY, NOTIFY,
56
+
57
+            { .op = OP_SET_TEMPERATURE, .val = 1900 },
58
+        },
59
+        .count = 18,
60
+    }, {
40
         .name = "Default",
61
         .name = "Default",
41
         .author = "xythobuz",
62
         .author = "xythobuz",
42
         .steps = {
63
         .steps = {
123
     },
144
     },
124
 };
145
 };
125
 
146
 
126
-static const uint16_t count = 4;
147
+static const uint16_t count = 5;
127
 
148
 
128
 static enum wf_status status = WF_IDLE;
149
 static enum wf_status status = WF_IDLE;
129
 static uint16_t wf_i = 0;
150
 static uint16_t wf_i = 0;

Loading…
Cancel
Save