summaryrefslogtreecommitdiffstatshomepage
path: root/py/objobject.c
diff options
context:
space:
mode:
authorTobias Badertscher <python@baerospace.ch>2016-03-16 16:51:13 +0100
committerDamien George <damien.p.george@gmail.com>2016-04-16 21:54:19 +0100
commitd4c33499579eb8f4febec2f5f01f5021f719fdaf (patch)
tree7267600d5d75c99a9ede72788f2231a635a2a905 /py/objobject.c
parentf4942db044e9f614a9fc7254bb72b3441a2362a2 (diff)
downloadmicropython-d4c33499579eb8f4febec2f5f01f5021f719fdaf.tar.gz
micropython-d4c33499579eb8f4febec2f5f01f5021f719fdaf.zip
stmhal: L4: Adapt UART HAL to avoid 64-bit integer division.
64-bit integer division brings a dependency on library functions. It is avoided here by dividing fck and baud by a common divisior. The error is the better (1/(2*0x300)) as with 64 bit division (1/(0x300)).
Diffstat (limited to 'py/objobject.c')
0 files changed, 0 insertions, 0 deletions