Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
This commit is contained in:
@@ -92,8 +92,8 @@
|
||||
#define SER_HS_SW 0x02 /* Software handshake */
|
||||
|
||||
/* Bit masks to mask out things from the status returned by ser_status.
|
||||
* These are 6551 specific and must be mapped by drivers for other chips.
|
||||
*/
|
||||
** These are 6551 specific and must be mapped by drivers for other chips.
|
||||
*/
|
||||
#define SER_STATUS_PE 0x01 /* Parity error */
|
||||
#define SER_STATUS_FE 0x02 /* Framing error */
|
||||
#define SER_STATUS_OE 0x04 /* Overrun error */
|
||||
@@ -141,8 +141,8 @@ unsigned char __fastcall__ ser_install (void* driver);
|
||||
|
||||
unsigned char ser_uninstall (void);
|
||||
/* Uninstall the currently loaded driver and return an error code.
|
||||
* Note: This call does not free allocated memory.
|
||||
*/
|
||||
** Note: This call does not free allocated memory.
|
||||
*/
|
||||
|
||||
unsigned char __fastcall__ ser_open (const struct ser_params* params);
|
||||
/* "Open" the port by setting the port parameters and enable interrupts. */
|
||||
@@ -152,14 +152,14 @@ unsigned char ser_close (void);
|
||||
|
||||
unsigned char __fastcall__ ser_get (char* b);
|
||||
/* Get a character from the serial port. If no characters are available, the
|
||||
* function will return SER_ERR_NO_DATA, so this is not a fatal error.
|
||||
*/
|
||||
** function will return SER_ERR_NO_DATA, so this is not a fatal error.
|
||||
*/
|
||||
|
||||
unsigned char __fastcall__ ser_put (char b);
|
||||
/* Send a character via the serial port. There is a transmit buffer, but
|
||||
* transmitting is not done via interrupt. The function returns
|
||||
* SER_ERR_OVERFLOW if there is no space left in the transmit buffer.
|
||||
*/
|
||||
** transmitting is not done via interrupt. The function returns
|
||||
** SER_ERR_OVERFLOW if there is no space left in the transmit buffer.
|
||||
*/
|
||||
|
||||
unsigned char __fastcall__ ser_status (unsigned char* status);
|
||||
/* Return the serial port status. */
|
||||
|
||||
Reference in New Issue
Block a user