@@ -216,7 +216,7 @@ class SerialBase : private NonCopyable<SerialBase> {
216216 /* * Begin asynchronous write using 8bit buffer.
217217 *
218218 * 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).
220220 * Events that are not enabled by event argument are simply ignored.
221221 * Operation has to be ended explicitly by calling abort_write() when
222222 * no events are enabled.
@@ -233,7 +233,7 @@ class SerialBase : private NonCopyable<SerialBase> {
233233 /* * Begin asynchronous write using 16bit buffer.
234234 *
235235 * 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).
237237 * Events that are not enabled by event argument are simply ignored.
238238 * Operation has to be ended explicitly by calling abort_write() when
239239 * no events are enabled.
@@ -256,7 +256,7 @@ class SerialBase : private NonCopyable<SerialBase> {
256256 /* * Begin asynchronous reading using 8bit buffer.
257257 *
258258 * 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).
260260 * Events that are not enabled by event argument are simply ignored.
261261 * Operation has to be ended explicitly by calling abort_read() when
262262 * no events are enabled.
@@ -274,7 +274,7 @@ class SerialBase : private NonCopyable<SerialBase> {
274274 /* * Begin asynchronous reading using 16bit buffer.
275275 *
276276 * 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).
278278 * Events that are not enabled by event argument are simply ignored.
279279 * Operation has to be ended explicitly by calling abort_read() when
280280 * no events are enabled.
0 commit comments