mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilibj] SerialPort: update comments to track rename (NFC)
This commit is contained in:
@@ -325,10 +325,10 @@ public class SerialPort implements AutoCloseable {
|
||||
/**
|
||||
* Specify the flushing behavior of the output buffer.
|
||||
*
|
||||
* <p>When set to kFlushOnAccess, data is synchronously written to the serial port after each call
|
||||
* to either print() or write().
|
||||
* <p>When set to FLUSH_ON_ACCESS, data is synchronously written to the serial port after each
|
||||
* call to either print() or write().
|
||||
*
|
||||
* <p>When set to kFlushWhenFull, data will only be written to the serial port when the buffer is
|
||||
* <p>When set to FLUSH_WHEN_FULL, data will only be written to the serial port when the buffer is
|
||||
* full or when flush() is called.
|
||||
*
|
||||
* @param mode The write buffer mode.
|
||||
@@ -340,7 +340,7 @@ public class SerialPort implements AutoCloseable {
|
||||
/**
|
||||
* Force the output buffer to be written to the port.
|
||||
*
|
||||
* <p>This is used when setWriteBufferMode() is set to kFlushWhenFull to force a flush before the
|
||||
* <p>This is used when setWriteBufferMode() is set to FLUSH_WHEN_FULL to force a flush before the
|
||||
* buffer is full.
|
||||
*/
|
||||
public void flush() {
|
||||
|
||||
Reference in New Issue
Block a user