Skip to content

Commit

Permalink
7248 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuQI77 committed Dec 8, 2020
1 parent 3484828 commit ee4d585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lora/rak2287_spi/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ cp $INSTALL_DIR/sx1302_hal-1.0.5/packet_forwarder $INSTALL_DIR/ -rf
cp $INSTALL_DIR/sx1302_hal-1.0.5/libloragw $INSTALL_DIR/lora_gateway -rf
if [ -f $SCRIPT_DIR/../../lte/lte_test ]; then
cp $SCRIPT_DIR/../../lte/lte_test $INSTALL_DIR/lora_gateway/
cp $SCRIPT_DIR/reset_lgw.sh $INSTALL_DIR/lora_gateway/
fi
mv $INSTALL_DIR/packet_forwarder/lora_pkt_fwd $INSTALL_DIR/packet_forwarder/lora_pkt_fwd_bak
mkdir -p $INSTALL_DIR/packet_forwarder/lora_pkt_fwd
Expand Down
2 changes: 1 addition & 1 deletion lora/rak2287_spi/test_loragw_gps_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ int main(int argc, char **argv)
}

/* Open and configure GPS */
i = lgw_gps_enable("/dev/ttyS0", "ubx7", 0, &gps_tty_dev);
i = lgw_gps_enable("/dev/ttyAMA0", "ubx7", 0, &gps_tty_dev);
if (i != LGW_GPS_SUCCESS) {
printf("ERROR: Failed to enable GPS\n");
exit(EXIT_FAILURE);
Expand Down

0 comments on commit ee4d585

Please sign in to comment.