mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-07 16:17:38 +03:00
Test: remove REFRESH_15
This commit is contained in:
parent
3ce11f14ce
commit
a2535e1f8d
@ -187,11 +187,10 @@ int CrossPointSettings::getRefreshFrequency() const {
|
|||||||
return 5;
|
return 5;
|
||||||
case REFRESH_10:
|
case REFRESH_10:
|
||||||
return 10;
|
return 10;
|
||||||
case REFRESH_15:
|
|
||||||
default:
|
|
||||||
return 15;
|
|
||||||
case REFRESH_30:
|
case REFRESH_30:
|
||||||
return 30;
|
return 30;
|
||||||
|
default:
|
||||||
|
return 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,8 @@ class CrossPointSettings {
|
|||||||
enum SLEEP_TIMEOUT { SLEEP_1_MIN = 0, SLEEP_5_MIN = 1, SLEEP_10_MIN = 2, SLEEP_15_MIN = 3, SLEEP_30_MIN = 4 };
|
enum SLEEP_TIMEOUT { SLEEP_1_MIN = 0, SLEEP_5_MIN = 1, SLEEP_10_MIN = 2, SLEEP_15_MIN = 3, SLEEP_30_MIN = 4 };
|
||||||
|
|
||||||
// E-ink refresh frequency (pages between full refreshes)
|
// E-ink refresh frequency (pages between full refreshes)
|
||||||
enum REFRESH_FREQUENCY { REFRESH_1 = 0, REFRESH_5 = 1, REFRESH_10 = 2, REFRESH_15 = 3, REFRESH_30 = 4 };
|
// Note: REFRESH_15 removed; keep explicit values for backward compatibility
|
||||||
|
enum REFRESH_FREQUENCY { REFRESH_1 = 0, REFRESH_5 = 1, REFRESH_10 = 2, REFRESH_30 = 4 };
|
||||||
|
|
||||||
// Short power button press actions
|
// Short power button press actions
|
||||||
enum SHORT_PWRBTN { IGNORE = 0, SLEEP = 1, PAGE_TURN = 2 };
|
enum SHORT_PWRBTN { IGNORE = 0, SLEEP = 1, PAGE_TURN = 2 };
|
||||||
@ -82,8 +83,8 @@ class CrossPointSettings {
|
|||||||
uint8_t paragraphAlignment = JUSTIFIED;
|
uint8_t paragraphAlignment = JUSTIFIED;
|
||||||
// Auto-sleep timeout setting (default 10 minutes)
|
// Auto-sleep timeout setting (default 10 minutes)
|
||||||
uint8_t sleepTimeout = SLEEP_10_MIN;
|
uint8_t sleepTimeout = SLEEP_10_MIN;
|
||||||
// E-ink refresh frequency (default 15 pages)
|
// E-ink refresh frequency (default 10 pages)
|
||||||
uint8_t refreshFrequency = REFRESH_15;
|
uint8_t refreshFrequency = REFRESH_10;
|
||||||
uint8_t hyphenationEnabled = 0;
|
uint8_t hyphenationEnabled = 0;
|
||||||
|
|
||||||
// Reader screen margin settings
|
// Reader screen margin settings
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user