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;
164
165
// _onReceive and _rxTimeout have be consistent when timeout is disabled
165
166
bool _onReceiveTimeout;
166
167
uint8_t _rxTimeout;
167
- OnReceiveErrorCb _onReceiveErrorCB;
168
168
TaskHandle_t _eventTask;
169
+ #if !CONFIG_DISABLE_HAL_LOCKS
170
+ SemaphoreHandle_t _lock;
171
+ #endif
169
172
170
173
void _createEventTask (void *args);
171
174
void _destroyEventTask (void );
172
175
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