Added auto-switch / auto-source to colorlcd

Resolves #118
This commit is contained in:
Raphael Coeffic
2021-06-07 11:08:36 +02:00
committed by Raphael Coeffic
parent 65ce8b4602
commit 162ffdb148
6 changed files with 67 additions and 36 deletions
+1 -1
View File
@@ -383,7 +383,7 @@ bool isInputRecursive(int index)
#if defined(AUTOSOURCE)
constexpr int MULTIPOS_STEP_SIZE = (2 * RESX) / XPOTS_MULTIPOS_COUNT;
int8_t getMovedSource(GET_MOVED_SOURCE_PARAMS)
int8_t getMovedSource(uint8_t min)
{
int8_t result = 0;
static tmr10ms_t s_move_last_time = 0;