Fix shift in sources on X9DP pre-2019 and X-Lite and hardware page (fix #6860 fix#6856)

* Fix shift in sources on X9DP pre-2019

* Probably better fix, but needs to be carried to Xlite if approved

* Fix Xlite strings

* Forgot to update conversions too
This commit is contained in:
Andre Bernet
2019-10-01 09:49:34 +02:00
committed by GitHub
parent 4f614850c4
commit e74f14cc48
5 changed files with 14 additions and 15 deletions
+7 -2
View File
@@ -492,14 +492,19 @@ enum Analogs {
#define NUM_SLIDERS 4
#define STORAGE_NUM_POTS 4
#define STORAGE_NUM_SLIDERS 4
#else
#elif defined(PCBX9DP)
#define NUM_POTS 3
#define NUM_SLIDERS 2
#define STORAGE_NUM_POTS 3
#define STORAGE_NUM_SLIDERS 2
#else
#define NUM_POTS 2
#define NUM_SLIDERS 2
#define STORAGE_NUM_POTS 3
#define STORAGE_NUM_SLIDERS 2
#endif
#define NUM_XPOTS NUM_POTS
#define NUM_XPOTS STORAGE_NUM_POTS
#define NUM_TRIMS 4
#define NUM_MOUSE_ANALOGS 0
#define STORAGE_NUM_MOUSE_ANALOGS 0