@@ -216,7 +216,7 @@ class SerialBase : private NonCopyable<SerialBase> {
216
216
/* * Begin asynchronous write using 8bit buffer.
217
217
*
218
218
* The write operation ends with any of the enabled events and invokes
219
- * registered callback function (which can be NULL to not receive callback at all).
219
+ * registered callback function (which can be empty to not receive callback at all).
220
220
* Events that are not enabled by event argument are simply ignored.
221
221
* Operation has to be ended explicitly by calling abort_write() when
222
222
* no events are enabled.
@@ -233,7 +233,7 @@ class SerialBase : private NonCopyable<SerialBase> {
233
233
/* * Begin asynchronous write using 16bit buffer.
234
234
*
235
235
* The write operation ends with any of the enabled events and invokes
236
- * registered callback function (which can be NULL to not receive callback at all).
236
+ * registered callback function (which can be empty to not receive callback at all).
237
237
* Events that are not enabled by event argument are simply ignored.
238
238
* Operation has to be ended explicitly by calling abort_write() when
239
239
* no events are enabled.
@@ -256,7 +256,7 @@ class SerialBase : private NonCopyable<SerialBase> {
256
256
/* * Begin asynchronous reading using 8bit buffer.
257
257
*
258
258
* The read operation ends with any of the enabled events and invokes registered
259
- * callback function (which can be NULL to not receive callback at all).
259
+ * callback function (which can be empty to not receive callback at all).
260
260
* Events that are not enabled by event argument are simply ignored.
261
261
* Operation has to be ended explicitly by calling abort_read() when
262
262
* no events are enabled.
@@ -274,7 +274,7 @@ class SerialBase : private NonCopyable<SerialBase> {
274
274
/* * Begin asynchronous reading using 16bit buffer.
275
275
*
276
276
* The read operation ends with any of the enabled events and invokes registered
277
- * callback function (which can be NULL to not receive callback at all).
277
+ * callback function (which can be empty to not receive callback at all).
278
278
* Events that are not enabled by event argument are simply ignored.
279
279
* Operation has to be ended explicitly by calling abort_read() when
280
280
* no events are enabled.
0 commit comments