summaryrefslogtreecommitdiff
path: root/py/qstr.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-05-28 10:51:45 +1000
committerDamien George <damien.p.george@gmail.com>2020-06-05 14:11:46 +1000
commit8b7ae4e099c18d839d1999c49dd8a1795bf9d1ae (patch)
treef05fcb52735534ee6c44a48024ad059dac0a21c4 /py/qstr.c
parent1cad63c0bcf63b12436a1438aa8512cd05ad4da0 (diff)
extmod/modbluetooth: Support bigger characteristic values.
The ring buffer previously used a single unsigned byte field to save the length, meaning that it would overflow for large characteristic value responses. With this commit it now use a 16-bit length instead and has code to explicitly truncate at UINT16_MAX (although this should be impossible to achieve in practice).
Diffstat (limited to 'py/qstr.c')
0 files changed, 0 insertions, 0 deletions