[chirp_devel] [PATCH][BTECH] Improved _recv() procedure to be less intensive, fixes #3015

Dan Smith
Tue Mar 29 15:44:00 PDT 2016


> -    # catching ack
> -    ack = _rawrecv(radio, 1)
> +    # get the whole block
> +    block = _rawrecv(radio, BLOCK_SIZE + 5)

It's not terrible to read just the ack, especially if you could get back
a NAK and need to notice immediately. However, unless you were going to
retry I think reading the ack and the block in one go is better anyway.

I will apply this when you guys say I should.

--Dan



More information about the chirp_devel mailing list