Browse Source

Tools: RCInput_UART PIC firmware: remove code out of place

That code for serial configuration was not really setting TXSTA register, since
the selected bank is 2. Looking at the datasheet, it seems that we were
actually messing with a register named VRCON (full name "VOLTAGE REFERENCE
CONTROL REGISTER").

This is probably a leftover from a copy/paste, since the same is done (in the
right place) previously.
mission-4.1.18
Gustavo Jose de Sousa 9 years ago committed by Andrew Tridgell
parent
commit
6a8420aa48
  1. 3
      Tools/Linux_HAL_Essentials/RCInput_UART/pic_firmware.asm

3
Tools/Linux_HAL_Essentials/RCInput_UART/pic_firmware.asm

@ -258,9 +258,6 @@ Main: @@ -258,9 +258,6 @@ Main:
movwf WPUB
movwf IOCB
movlw (1<<TXEN|1<<BRGH)
movwf TXSTA
; bank 0
clrf STATUS

Loading…
Cancel
Save