Open peterbone-bo opened 8 months ago
If we have a frame with a size that equals the src_len (source buffer size), then the returned frame size from yahdlc_get_data_with_state ends up being one less than the frame size.
yahdlc_get_data_with_state
Therefore, add 1 to return the correct frame size.
If we have a frame with a size that equals the src_len (source buffer size), then the returned frame size from
yahdlc_get_data_with_state
ends up being one less than the frame size.Therefore, add 1 to return the correct frame size.