Creator Firmware upload, radio-init.bash

Hi,
is this correct ?

for i in 21 16
do
if [ ! -d /sys/class/gpio/gpio$i ]
then
echo $i > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio${i}/direction
fi
done

echo 0 > /sys/class/gpio/gpio16/value
echo 1 > /sys/class/gpio/gpio21/value

isn’t gpio16 defined as IR RX input ?