Skip to content

Commit

Permalink
Fix IR
Browse files Browse the repository at this point in the history
  • Loading branch information
cgreening committed Jan 10, 2024
1 parent 9e31047 commit 9c9a37d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions player/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ build_flags =
-DBOARD_HAS_PSRAM
-DUSE_DMA
; Remote Control Pins
; -DHAS_IR_REMOTE
; -DIR_RECV_PWR=GPIO_NUM_48
; -DIR_RECV_PIN=GPIO_NUM_47
; -DIR_RECV_GND=GPIO_NUM_NC
; -DIR_RECV_IND=GPIO_NUM_38
; -DDECODE_NEC
-DHAS_IR_REMOTE
-DIR_RECV_PWR=GPIO_NUM_48
-DIR_RECV_PIN=GPIO_NUM_47
-DIR_RECV_GND=GPIO_NUM_NC
-DIR_RECV_IND=GPIO_NUM_38
-DDECODE_NEC
; optional TFT power pin
-DUSE_HSPI_PORT
-DTFT_POWER=GPIO_NUM_43
Expand Down
4 changes: 1 addition & 3 deletions player/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ void loop()
{
case RemoteCommands::POWER:
videoPlayer->stop();
tft.setCursor(20, 20);
tft.setTextColor(TFT_GREEN, TFT_BLACK);
tft.println("TUNING...");
display.drawTuningText();
Serial.println("POWER");
// get the channel info
while(!channelData->fetchChannelData()) {
Expand Down

0 comments on commit 9c9a37d

Please sign in to comment.