File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 18
18
#endif
19
19
20
20
/* --------------------------------------------------------------------------------
21
- * Step 2: Configure Operational settings
21
+ * Step 2: Configure operational settings
22
22
*--------------------------------------------------------------------------------*/
23
23
#define ENA_INTERPOLATION true // Enable interpolation
24
24
#define ENA_MULTITASKING true // Enable multi-task by FreeRTOS
52
52
* Step 4: Configure flash memory setting to save touch calibration data
53
53
* Preferences requires at least 2 partitions. Check the partition scheme on Tools.
54
54
*--------------------------------------------------------------------------------*/
55
- #define USE_PREFERENCES true
55
+ #define USE_PREFERENCES false
56
56
57
57
/* --------------------------------------------------------------------------------
58
- * Configure MLX90640 settings
58
+ * Step 5: Configure resolution settings
59
59
*--------------------------------------------------------------------------------*/
60
60
#if ENA_INTERPOLATION
61
61
#define INTERPOLATE_SCALE 8
@@ -194,9 +194,6 @@ void setup() {
194
194
touch_setup ();
195
195
widget_setup ();
196
196
197
- // Initialize interpolation
198
- interpolate_setup (mlx_cnf.interpolation );
199
-
200
197
#if ENA_MULTITASKING
201
198
// Start tasks
202
199
task_setup (ProcessInput, ProcessOutput);
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ typedef struct MLXConfig {
76
76
77
77
void filter_reset (void );
78
78
filter_reset ();
79
+
80
+ void interpolate_setup (const int );
81
+ interpolate_setup (interpolation);
79
82
}
80
83
} MLXConfig_t;
81
84
You can’t perform that action at this time.
0 commit comments