Przeglądaj źródła

add XXL workflow

Thomas Buck 1 rok temu
rodzic
commit
ff52199e2b
1 zmienionych plików z 22 dodań i 1 usunięć
  1. 22
    1
      src/workflow.c

+ 22
- 1
src/workflow.c Wyświetl plik

@@ -37,6 +37,27 @@ struct workflow {
37 37
 
38 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 61
         .name = "Default",
41 62
         .author = "xythobuz",
42 63
         .steps = {
@@ -123,7 +144,7 @@ static const struct workflow wf[WF_MAX_FLOWS] = {
123 144
     },
124 145
 };
125 146
 
126
-static const uint16_t count = 4;
147
+static const uint16_t count = 5;
127 148
 
128 149
 static enum wf_status status = WF_IDLE;
129 150
 static uint16_t wf_i = 0;

Ładowanie…
Anuluj
Zapisz