Hi ,
I need to update the TG-UV2+ driver to use 2 stop bits on the UART,
I've added the following line in do_ident(radio) function:

radio.pipe.stopbits = serial.STOPBITS_TWO
(After the radio.pipe.timeout setting and before the first write to the radio)

The fix works, 
However, 
bBefore submitting the patch, I wanted to know if there is a need to clean this back to "normal" (1 stop bit) somewhere? Or, is the serial port re-initialized every time a new download starts (e.g. if a user would download from one radio type and then from another)?

(I tested this with the 2 radio types I have (first downloading from the TG-UV2+ with 2 stop bits and then from a UV-5R (which Imagine uses 1 stop bit )  and it worked fine, but that could be just luck....

Thanks!
Ran