Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/display_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ int mapEpd(int id){
case 0x0041: return EP_PANEL_UNDEFINED;
// bb_epaper 2.1.9 does not define the 13.3" EP133 panel yet.
case 0x0042: return EP_PANEL_UNDEFINED;
case 0x0043: return EP585C_600x448; // Inkplate 6COLOR (ACeP 7-color, UC8159)
default: return EP_PANEL_UNDEFINED;
}
}
Expand Down Expand Up @@ -1110,7 +1111,8 @@ int getBitsPerPixel() {
return 4;
}
#endif
if (globalConfig.displays[0].color_scheme == 4) return 4;
if (globalConfig.displays[0].color_scheme == 4) return 4; // BWGBRY 6-color
if (globalConfig.displays[0].color_scheme == 8) return 4; // BWGBRYO 7-color ACeP (Inkplate 6COLOR)
if (globalConfig.displays[0].color_scheme == 3) return 2;
if (globalConfig.displays[0].color_scheme == 5) return 2;
return 1;
Expand Down