Update even more file header comments to standardized new format
This commit is contained in:
parent
200b8e3a24
commit
a3066db16c
31 changed files with 284 additions and 152 deletions
|
|
@ -1,3 +1,13 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| find_usb_serial_port.h |
|
||||
| |
|
||||
| Finds the serial port path(s) of USB serial port devices|
|
||||
| given the USB VID and PID of the device |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,13 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| find_usb_serial_port_linux.cpp |
|
||||
| |
|
||||
| Finds the serial port path(s) of USB serial port devices|
|
||||
| given the USB VID and PID of the device |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "find_usb_serial_port.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,13 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| find_usb_serial_port_win.cpp |
|
||||
| |
|
||||
| Finds the serial port path(s) of USB serial port devices|
|
||||
| given the USB VID and PID of the device |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "find_usb_serial_port.h"
|
||||
|
||||
#include <initguid.h>
|
||||
|
|
@ -115,7 +125,7 @@ std::vector<std::string *> find_usb_serial_port(unsigned short vid, unsigned sho
|
|||
}
|
||||
}
|
||||
|
||||
if (DeviceInfoSet)
|
||||
if (DeviceInfoSet)
|
||||
{
|
||||
SetupDiDestroyDeviceInfoList(DeviceInfoSet);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| Cross Platform Serial COM Library for Windows and Linux |
|
||||
| This library provides access to serial ports with a |
|
||||
| common API for both Windows and Linux systems. It |
|
||||
| features read and write as well as tx/rx buffer flush. |
|
||||
| serial_port.cpp |
|
||||
| |
|
||||
| Adam Honse (calcprogrammer1@gmail.com), 1/21/2013 |
|
||||
| Cross Platform Serial COM Library for Windows and Linux |
|
||||
| This library provides access to serial ports with a |
|
||||
| common API for both Windows and Linux systems |
|
||||
| |
|
||||
| Adam Honse (calcprogrammer1@gmail.com) 21 Jan 2013 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "serial_port.h"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| Cross Platform Serial COM Library for Windows and Linux |
|
||||
| This library provides access to serial ports with a |
|
||||
| common API for both Windows and Linux systems. It |
|
||||
| features read and write as well as tx/rx buffer flush. |
|
||||
| serial_port.h |
|
||||
| |
|
||||
| Adam Honse (calcprogrammer1@gmail.com), 1/21/2013 |
|
||||
| Cross Platform Serial COM Library for Windows and Linux |
|
||||
| This library provides access to serial ports with a |
|
||||
| common API for both Windows and Linux systems |
|
||||
| |
|
||||
| Adam Honse (calcprogrammer1@gmail.com) 21 Jan 2013 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#ifndef SERIAL_PORT_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue