Update dimmer loockup table

This commit is contained in:
stefanbode 2022-11-24 10:51:58 +01:00 committed by GitHub
parent 8bc46aa0d9
commit b5448535b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -33,13 +33,16 @@ typedef struct gamma_table_t {
const gamma_table_t ac_dimmer_table[] = { // don't put in PROGMEM for performance reasons const gamma_table_t ac_dimmer_table[] = { // don't put in PROGMEM for performance reasons
{ 0, 0 }, { 0, 0 },
{ 1, 64 },
{ 5, 144 }, { 5, 144 },
{ 10, 205 }, { 10, 205 },
{ 50, 500 }, { 50, 500 },
{ 90, 795 }, { 90, 795 },
{ 95, 866 }, { 95, 866 },
{ 99, 936 },
{ 100, 1000 }, { 100, 1000 },
{ 0xFFFF, 0xFFFF } // fail-safe if out of range { 0xFFFF, 0xFFFF } // fail-safe if out of range
{ 0xFFFF, 0xFFFF } // fail-safe if out of range
}; };
const gamma_table_t gamma_table[] = { // don't put in PROGMEM for performance reasons const gamma_table_t gamma_table[] = { // don't put in PROGMEM for performance reasons