From 9ab4e7524c34ca0d30145985b2b33766a51c55c1 Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Sun, 18 Aug 2024 01:54:30 +0100 Subject: [PATCH] Reformat spacing/comments in src/updi_nvm_v0.h --- src/updi_nvm_v0.h | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/src/updi_nvm_v0.h b/src/updi_nvm_v0.h index cda8a6f3..c6cdd09c 100644 --- a/src/updi_nvm_v0.h +++ b/src/updi_nvm_v0.h @@ -31,20 +31,26 @@ extern "C" { #endif -int updi_nvm_chip_erase_V0(const PROGRAMMER *pgm, const AVRPART *p); -int updi_nvm_erase_flash_page_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address); -int updi_nvm_erase_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p); -int updi_nvm_erase_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, uint16_t size); -int updi_nvm_write_flash_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_boot_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_fuse_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, uint8_t value); -int updi_nvm_wait_ready_V0(const PROGRAMMER *pgm, const AVRPART *p); -int updi_nvm_command_V0(const PROGRAMMER *pgm, const AVRPART *p, uint8_t command); + int updi_nvm_chip_erase_V0(const PROGRAMMER *pgm, const AVRPART *p); + int updi_nvm_erase_flash_page_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address); + int updi_nvm_erase_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p); + int updi_nvm_erase_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + uint16_t size); + int updi_nvm_write_flash_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_boot_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_fuse_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + uint8_t value); + int updi_nvm_wait_ready_V0(const PROGRAMMER *pgm, const AVRPART *p); + int updi_nvm_command_V0(const PROGRAMMER *pgm, const AVRPART *p, uint8_t command); #ifdef __cplusplus } #endif -#endif /* updi_nvm_v0_h */ +#endif