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.
This commit is contained in:
Gustavo Jose de Sousa 2015-10-05 16:19:50 -03:00 committed by Andrew Tridgell
parent 2a7e4baa7d
commit 6a8420aa48
1 changed files with 0 additions and 3 deletions

View File

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