Skip to content

Commit 80fb12b

Browse files
committed
Fix PIPBOY_LINUX build - fix #2614
1 parent 2b136d9 commit 80fb12b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/pipboy/jswrap_pipboy.c

+2
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,9 @@ static void jswrap_pb_periph_off() {
11321132
jshPinSetState(DAC_SDA_PIN, JSHPINSTATE_GPIO_IN);
11331133
jshPinSetState(RADIO_SCL_PIN, JSHPINSTATE_ADC_IN);
11341134
jshPinSetState(RADIO_SDA_PIN, JSHPINSTATE_ADC_IN);
1135+
#ifdef LCD_TEARING
11351136
jshPinSetState(LCD_TEARING, JSHPINSTATE_GPIO_IN_PULLDOWN);
1137+
#endif
11361138
STM32_I2S_Kill();
11371139
}
11381140

0 commit comments

Comments
 (0)