Browse Source

📝 Update ExtUI example

Scott Lahteine 4 years ago
parent
commit
464a9f0ab6
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/src/lcd/extui/example/example.cpp

+ 6
- 0
Marlin/src/lcd/extui/example/example.cpp View File

119
   #if HAS_PID_HEATING
119
   #if HAS_PID_HEATING
120
     void onPidTuning(const result_t rst) {
120
     void onPidTuning(const result_t rst) {
121
       // Called for temperature PID tuning result
121
       // Called for temperature PID tuning result
122
+      switch (rst) {
123
+        case PID_BAD_EXTRUDER_NUM: break;
124
+        case PID_TEMP_TOO_HIGH:    break;
125
+        case PID_TUNING_TIMEOUT:   break;
126
+        case PID_DONE:             break;
127
+      }
122
     }
128
     }
123
   #endif
129
   #endif
124
 
130
 

Loading…
Cancel
Save