Skip to content

Commit

Permalink
fixed AMOLED build
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 7, 2025
1 parent ca274b7 commit 29dae93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,15 +781,16 @@ static uint8_t IRAM_ATTR HandleData(uint8_t *pData, size_t len) {
(usbPackageSizeMultiplier * 32) & 0xff;
response[N_INTERMEDIATE_CTR_CHARS + 8] =
((usbPackageSizeMultiplier * 32) >> 8) & 0xff;

response[N_INTERMEDIATE_CTR_CHARS + 9] = brightness;
#ifndef DISPLAY_RM67162_AMOLED
response[N_INTERMEDIATE_CTR_CHARS + 10] = rgbMode;
response[N_INTERMEDIATE_CTR_CHARS + 11] = yOffset;
response[N_INTERMEDIATE_CTR_CHARS + 12] = panelClkphase;
response[N_INTERMEDIATE_CTR_CHARS + 13] = panelDriver;
response[N_INTERMEDIATE_CTR_CHARS + 14] = panelI2sspeed;
response[N_INTERMEDIATE_CTR_CHARS + 15] = panelLatchBlanking;
response[N_INTERMEDIATE_CTR_CHARS + 16] = panelMinRefreshRate;
#endif
response[N_INTERMEDIATE_CTR_CHARS + 17] = udpDelay;

response[63 - N_ACK_CHARS] = 'R';
Expand Down

0 comments on commit 29dae93

Please sign in to comment.