pull/322/head
KM4ACK 2021-10-11 09:37:29 -05:00
rodzic b51e07974e
commit 8febeb9cdf
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -123,11 +123,11 @@ RTC() {
IC2ACTIVE=$(ls /dev/*i2c*)
if [ ${IC2ACTIVE} = '/dev/i2c-1' ]; then
echo "IC2 is active"
echo "I2C is active"
else
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
--text="Please enable IC2 interface in the Raspberry Pi Configuration and try again" \
--text="Please enable I2C interface in the Raspberry Pi Configuration and try again" \
--button=gtk-close
exit 1
fi