We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d188f5 commit aa783e6Copy full SHA for aa783e6
cores/esp32/HardwareSerial.h
@@ -161,18 +161,18 @@ class HardwareSerial: public Stream
161
size_t _rxBufferSize;
162
size_t _txBufferSize;
163
OnReceiveCb _onReceiveCB;
164
+ OnReceiveErrorCb _onReceiveErrorCB;
165
// _onReceive and _rxTimeout have be consistent when timeout is disabled
166
bool _onReceiveTimeout;
167
uint8_t _rxTimeout;
- OnReceiveErrorCb _onReceiveErrorCB;
168
TaskHandle_t _eventTask;
169
+#if !CONFIG_DISABLE_HAL_LOCKS
170
+ SemaphoreHandle_t _lock;
171
+#endif
172
173
void _createEventTask(void *args);
174
void _destroyEventTask(void);
175
static void _uartEventTask(void *args);
-#if !CONFIG_DISABLE_HAL_LOCKS
- SemaphoreHandle_t _lock;
-#endif
176
};
177
178
extern void serialEventRun(void) __attribute__((weak));
0 commit comments