Skip to content

Commit

Permalink
Add boilerplate for RBG screen #231
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebazzz committed Apr 11, 2021
1 parent 7b2330d commit d72ff58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,13 @@ const uint16_t VPList_Calibrate[] PROGMEM = {
0x0000
};

const uint16_t VPList_RGB[] PROGMEM = {
VPList_CommonWithHeatOnly,

0x0000
};


// -- Mapping from screen to variable list
const struct VPMapping VPMap[] PROGMEM = {
{ DGUSLCD_SCREEN_BOOT, VPList_None },
Expand Down Expand Up @@ -449,6 +456,7 @@ const struct VPMapping VPMap[] PROGMEM = {
{ DGUSLCD_SCREEN_MESH_VALIDATION, VPList_MeshValidation },

{ DGUSLCD_SCREEN_CALIBRATE, VPList_Calibrate },
{ DGUSLCD_SCREEN_RGB, VPList_RGB},

{ 0 , nullptr } // List is terminated with an nullptr as table entry.
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ enum DGUSLCD_Screens : uint8_t {
DGUSLCD_SCREEN_MISC_SETTINGS = 77,
DGUSLCD_SCREEN_MESH_VALIDATION = 78,

DGUSLCD_SCREEN_CALIBRATE = 80
DGUSLCD_SCREEN_CALIBRATE = 80,
DGUSLCD_SCREEN_RGB = 81
};

// Version checks
Expand Down

0 comments on commit d72ff58

Please sign in to comment.