File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -161,18 +161,18 @@ class HardwareSerial: public Stream
161161 size_t _rxBufferSize;
162162 size_t _txBufferSize;
163163 OnReceiveCb _onReceiveCB;
164+ OnReceiveErrorCb _onReceiveErrorCB;
164165 // _onReceive and _rxTimeout have be consistent when timeout is disabled
165166 bool _onReceiveTimeout;
166167 uint8_t _rxTimeout;
167- OnReceiveErrorCb _onReceiveErrorCB;
168168 TaskHandle_t _eventTask;
169+ #if !CONFIG_DISABLE_HAL_LOCKS
170+ SemaphoreHandle_t _lock;
171+ #endif
169172
170173 void _createEventTask (void *args);
171174 void _destroyEventTask (void );
172175 static void _uartEventTask (void *args);
173- #if !CONFIG_DISABLE_HAL_LOCKS
174- SemaphoreHandle_t _lock;
175- #endif
176176};
177177
178178extern void serialEventRun (void ) __attribute__((weak));
You can’t perform that action at this time.
0 commit comments