Multi-line comments cleanup (#19535)
This commit is contained in:
@ -640,7 +640,6 @@ again:
|
||||
* 7: for (each driver) {
|
||||
* 7a: Ask device if it knows this VID/PID. Acts exactly like 6a, but using VID/PID
|
||||
* 8: if we get here, no driver likes the device plugged in, so exit failure.
|
||||
*
|
||||
*/
|
||||
uint8_t USB::Configuring(uint8_t parent, uint8_t port, bool lowspeed) {
|
||||
//uint8_t bAddress = 0;
|
||||
|
@ -828,7 +828,6 @@ uint8_t BulkOnly::ClearEpHalt(uint8_t index) {
|
||||
|
||||
/**
|
||||
* For driver use only.
|
||||
*
|
||||
*/
|
||||
void BulkOnly::Reset() {
|
||||
while (pUsb->ctrlReq(bAddress, 0, bmREQ_MASSOUT, MASS_REQ_BOMSR, 0, 0, bIface, 0, 0, nullptr, nullptr) == 0x01) delay(6);
|
||||
@ -1163,7 +1162,6 @@ uint8_t BulkOnly::HandleSCSIError(uint8_t status) {
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ep_ptr
|
||||
*/
|
||||
void BulkOnly::PrintEndpointDescriptor(const USB_FD_ENDPOINT_DESCRIPTOR * ep_ptr) {
|
||||
|
@ -318,7 +318,6 @@ UHS_NI UHS_Bulk_Storage::UHS_Bulk_Storage(UHS_USB_HOST_BASE *p) {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ei Enumeration information
|
||||
* @return true if this interface driver can handle this interface description
|
||||
*/
|
||||
@ -375,7 +374,6 @@ uint8_t UHS_NI UHS_Bulk_Storage::SetInterface(ENUMERATION_INFO *ei) {
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @return 0 for success
|
||||
*/
|
||||
uint8_t UHS_NI UHS_Bulk_Storage::Start() {
|
||||
@ -628,7 +626,6 @@ void UHS_NI UHS_Bulk_Storage::CheckMedia() {
|
||||
|
||||
/**
|
||||
* For driver use only.
|
||||
*
|
||||
*/
|
||||
void UHS_NI UHS_Bulk_Storage::Poll() {
|
||||
if((long)(millis() - qNextPollTime) >= 0L) {
|
||||
@ -839,7 +836,6 @@ uint8_t UHS_NI UHS_Bulk_Storage::ClearEpHalt(uint8_t index) {
|
||||
|
||||
/**
|
||||
* For driver use only.
|
||||
*
|
||||
*/
|
||||
void UHS_NI UHS_Bulk_Storage::Reset() {
|
||||
if(!bAddress) return;
|
||||
@ -1185,7 +1181,6 @@ uint8_t UHS_NI UHS_Bulk_Storage::HandleSCSIError(uint8_t status) {
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ep_ptr
|
||||
*/
|
||||
void UHS_NI UHS_Bulk_Storage::PrintEndpointDescriptor(const USB_FD_ENDPOINT_DESCRIPTOR * ep_ptr) {
|
||||
|
@ -101,7 +101,6 @@ uint8_t UHS_USB_HOST_BASE::setEpInfoEntry(uint8_t addr, uint8_t iface, uint8_t e
|
||||
*
|
||||
* @param maxep How many endpoints to initialize
|
||||
* @param device pointer to the device driver instance (this)
|
||||
*
|
||||
*/
|
||||
|
||||
void UHS_USB_HOST_BASE::DeviceDefaults(uint8_t maxep, UHS_USBInterface *interface) {
|
||||
@ -208,7 +207,6 @@ uint8_t UHS_USB_HOST_BASE::doSoftReset(uint8_t parent, uint8_t port, uint8_t add
|
||||
* example of one of these documents, see page Five:
|
||||
* https://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_113_Simplified%20Description%20of%20USB%20Device%20Enumeration.pdf
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -350,7 +350,6 @@ public:
|
||||
|
||||
/**
|
||||
* Executed before anything else in Release().
|
||||
*
|
||||
*/
|
||||
virtual void OnRelease() {
|
||||
return;
|
||||
@ -403,7 +402,6 @@ public:
|
||||
|
||||
#if 0
|
||||
/**
|
||||
*
|
||||
* @return true if this interface is Vendor Specific.
|
||||
*/
|
||||
virtual bool IsVSI() {
|
||||
@ -414,7 +412,6 @@ public:
|
||||
|
||||
#if 0
|
||||
/**
|
||||
*
|
||||
* Vendor Specific interface class.
|
||||
* This is used by a partner interface.
|
||||
* It can also be used to force-enumerate an interface that
|
||||
|
@ -6,7 +6,6 @@
|
||||
*
|
||||
* To test:
|
||||
* gcc -DAJK_TEST_MACRO_LOGIC -E macro_logic.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef MACRO_LOGIC_H
|
||||
|
@ -165,7 +165,6 @@ static void Init_dyn_SWI() {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param klass class that extends dyn_SWI
|
||||
* @return 0 on queue full, else returns queue position (ones based)
|
||||
*/
|
||||
@ -219,7 +218,6 @@ static void Init_dyn_SWI() {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param klass class that extends dyn_SWI
|
||||
* @return 0 on queue full, else returns queue position (ones based)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user