Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major cleanup of comments/spacing #27231

Open
wants to merge 10 commits into
base: bugfix-2.1.x
Choose a base branch
from
6 changes: 2 additions & 4 deletions Marlin/src/HAL/DUE/usb/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -1079,7 +1077,7 @@ static inline void convert_16_bit_to_byte_address(uint16_t value, uint8_t *data)
data[1] = (value >> 8) & 0xFF;
}

/*
/**
* @brief Converts a 2 Byte array into a 16-Bit value
*
* @param data Specifies the pointer to the 2 Byte array
Expand Down Expand Up @@ -1136,4 +1134,4 @@ static inline uint64_t convert_byte_array_to_64_bit(uint8_t *data)
* \}
*/

#endif /* UTILS_COMPILER_H */
#endif // UTILS_COMPILER_H
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/conf_access.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/conf_clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -96,4 +94,4 @@
// - UPLL frequency: 480MHz
// - USB clock: 480 / 1 = 480MHz

#endif /* CONF_CLOCK_H_INCLUDED */
#endif // CONF_CLOCK_H_INCLUDED
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/conf_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/ctrl_access.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
*
* \asf_license_stop
*
******************************************************************************/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/ctrl_access.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
*
* \asf_license_stop
*
******************************************************************************/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/genclk.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -261,4 +259,4 @@ static inline void genclk_enable_source(enum genclk_source e_src) {
/**INDENT-ON**/
/// @endcond

#endif /* CHIP_GENCLK_H_INCLUDED */
#endif // CHIP_GENCLK_H_INCLUDED
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/mrepeat.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
6 changes: 2 additions & 4 deletions Marlin/src/HAL/DUE/usb/osc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand All @@ -57,7 +55,7 @@ extern "C" {
/**INDENT-ON**/
/// @endcond

/*
/**
* Below BOARD_XXX macros are related to the specific board, and
* should be defined by the board code, otherwise default value are used.
*/
Expand Down Expand Up @@ -251,4 +249,4 @@ static inline void osc_wait_ready(uint8_t id) {
/**INDENT-ON**/
/// @endcond

#endif /* CHIP_OSC_H_INCLUDED */
#endif // CHIP_OSC_H_INCLUDED
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/pll.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -267,4 +265,4 @@ static inline int pll_wait_for_lock(unsigned int pll_id) {
/**INDENT-ON**/
/// @endcond

#endif /* CHIP_PLL_H_INCLUDED */
#endif // CHIP_PLL_H_INCLUDED
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/preprocessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/sbc_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/
#ifndef _SBC_PROTOCOL_H_
Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/sd_mmc_spi_mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
*
* \asf_license_stop
*
******************************************************************************/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/spc_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@
*
* \asf_license_stop
*
*/

/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

#ifndef _SPC_PROTOCOL_H_
#define _SPC_PROTOCOL_H_

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/stringz.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/sysclk.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/sysclk.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -225,4 +223,4 @@ extern void sysclk_disable_usb(void);
/**INDENT-ON**/
/// @endcond

#endif /* CHIP_SYSCLK_H_INCLUDED */
#endif // CHIP_SYSCLK_H_INCLUDED
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/tpaste.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udc_desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udd.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_cdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_cdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_cdc_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_cdc_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_composite_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_msc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/HAL/DUE/usb/udi_msc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
3 changes: 0 additions & 3 deletions Marlin/src/HAL/DUE/usb/uotghs_device_due.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
*
* \asf_license_stop
*
*/

/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/uotghs_device_due.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -655,4 +653,4 @@ typedef struct {
/**INDENT-ON**/
/// @endcond

#endif /* UOTGHS_DEVICE_H_INCLUDED */
#endif // UOTGHS_DEVICE_H_INCLUDED
4 changes: 1 addition & 3 deletions Marlin/src/HAL/DUE/usb/uotghs_otg.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -235,4 +233,4 @@ void otg_dual_disable(void);
}
#endif

#endif /* UOTGHS_OTG_H_INCLUDED */
#endif // UOTGHS_OTG_H_INCLUDED
6 changes: 2 additions & 4 deletions Marlin/src/HAL/DUE/usb/usb_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit <a href="https://www.atmel.com/design-support/">Atmel Support</a>
*/

Expand Down Expand Up @@ -297,7 +295,7 @@ typedef uint8_t usb_ep_t;
*/
#define USB_MAX_DESC_LEN 255

/*
/**
* 2-byte alignment requested for all USB structures.
*/
COMPILER_PACK_SET(1)
Expand Down Expand Up @@ -489,4 +487,4 @@ COMPILER_PACK_RESET()

//! @}

#endif /* _USB_PROTOCOL_H_ */
#endif // _USB_PROTOCOL_H_
Loading