]> granicus.if.org Git - esp-idf/commit
freemodbus: change critical sections to semaphore mutex
authoraleks <aleks@espressif.com>
Thu, 7 Mar 2019 08:51:25 +0000 (09:51 +0100)
committeraleks <aleks@espressif.com>
Thu, 7 Mar 2019 15:01:43 +0000 (16:01 +0100)
commit7342811c373ab7732614d5067bcfad087de96d13
treee98e2a2e2b4413b6c2a4c5559ed558983f0701d0
parente1e82c894949351fd22bc4a2d1ca8b446514784e
freemodbus: change critical sections to semaphore mutex

revert changes made in mbrtu.c, mbascii.c
change critical section type to semaphore mutex instead of spin lock

Closes: https://github.com/espressif/esp-idf/issues/3009
components/freemodbus/port/port.h
components/freemodbus/port/portother.c
components/freemodbus/port/portserial.c