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
161
161
size_t _rxBufferSize;
162
162
size_t _txBufferSize;
163
163
OnReceiveCb _onReceiveCB;
164
- OnReceiveErrorCb _onReceiveErrorCB;
165
164
// _onReceive and _rxTimeout have be consistent when timeout is disabled
166
165
bool _onReceiveTimeout;
167
166
uint8_t _rxTimeout;
167
+ OnReceiveErrorCb _onReceiveErrorCB;
168
168
TaskHandle_t _eventTask;
169
- #if !CONFIG_DISABLE_HAL_LOCKS
170
- SemaphoreHandle_t _lock;
171
- #endif
172
169
173
170
void _createEventTask (void *args);
174
171
void _destroyEventTask (void );
175
172
static void _uartEventTask (void *args);
173
+ #if !CONFIG_DISABLE_HAL_LOCKS
174
+ SemaphoreHandle_t _lock;
175
+ #endif
176
176
};
177
177
178
178
extern void serialEventRun (void ) __attribute__((weak));
You can’t perform that action at this time.
0 commit comments