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;
165164 // _onReceive and _rxTimeout have be consistent when timeout is disabled
166165 bool _onReceiveTimeout;
167166 uint8_t _rxTimeout;
167+ OnReceiveErrorCb _onReceiveErrorCB;
168168 TaskHandle_t _eventTask;
169- #if !CONFIG_DISABLE_HAL_LOCKS
170- SemaphoreHandle_t _lock;
171- #endif
172169
173170 void _createEventTask (void *args);
174171 void _destroyEventTask (void );
175172 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