@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2222#ifndef __SoftwareSerial_h
2323#define __SoftwareSerial_h
2424
25- #include " circular_queue/circular_queue_mp .h"
25+ #include " circular_queue/circular_queue .h"
2626#include < Stream.h>
2727
2828namespace EspSoftwareSerial {
@@ -365,7 +365,7 @@ class UARTBase : public Stream {
365365#endif
366366 // the ISR stores the relative bit times in the buffer. The inversion corrected level is used as sign bit (2's complement):
367367 // 1 = positive including 0, 0 = negative.
368- std::unique_ptr<circular_queue_mp <uint32_t , UARTBase*> > m_isrBuffer;
368+ std::unique_ptr<circular_queue <uint32_t , UARTBase*> > m_isrBuffer;
369369 const Delegate<void (uint32_t &&), UARTBase*> m_isrBufferForEachDel { [](UARTBase* self, uint32_t && isrTick) { self->rxBits (isrTick); }, this };
370370 std::atomic<bool > m_isrOverflow { false };
371371 uint32_t m_isrLastTick;
@@ -442,9 +442,6 @@ extern template void delegate::detail::DelegateImpl<void*, void>::operator()() c
442442extern template size_t circular_queue<uint32_t , EspSoftwareSerial::UARTBase*>::available() const ;
443443extern template bool circular_queue<uint32_t , EspSoftwareSerial::UARTBase*>::push(uint32_t &&);
444444extern template bool circular_queue<uint32_t , EspSoftwareSerial::UARTBase*>::push(const uint32_t &);
445- extern template size_t circular_queue_mp<uint32_t , EspSoftwareSerial::UARTBase*>::available() const ;
446- extern template bool circular_queue_mp<uint32_t , EspSoftwareSerial::UARTBase*>::push(uint32_t &&);
447- extern template bool circular_queue_mp<uint32_t , EspSoftwareSerial::UARTBase*>::push(const uint32_t &);
448445
449446#endif // __SoftwareSerial_h
450447
0 commit comments