X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e30be658c9b4d0cbbea6751c3935870165d97444..df33278d9132007c217365bdbd5af1b20038455b:/Bootloaders/DFU/BootloaderAPI.h diff --git a/Bootloaders/DFU/BootloaderAPI.h b/Bootloaders/DFU/BootloaderAPI.h index 9c9d5a4ce..9d652c840 100644 --- a/Bootloaders/DFU/BootloaderAPI.h +++ b/Bootloaders/DFU/BootloaderAPI.h @@ -40,20 +40,17 @@ #include #include #include - + #include - - /* External Variables: */ - extern uint8_t* BootloaderAPI_JumpTable; - + /* Function Prototypes: */ - void BootloaderAPI_ErasePage(uint32_t Address); - void BootloaderAPI_WritePage(uint32_t Address); - void BootloaderAPI_FillWord(uint32_t Address, uint16_t Word); - uint8_t BootloaderAPI_ReadSignature(uint16_t Address); - uint8_t BootloaderAPI_ReadFuse(uint16_t Address); + void BootloaderAPI_ErasePage(const uint32_t Address); + void BootloaderAPI_WritePage(const uint32_t Address); + void BootloaderAPI_FillWord(const uint32_t Address, const uint16_t Word); + uint8_t BootloaderAPI_ReadSignature(const uint16_t Address); + uint8_t BootloaderAPI_ReadFuse(const uint16_t Address); uint8_t BootloaderAPI_ReadLock(void); - void BootloaderAPI_WriteLock(uint8_t LockBits); + void BootloaderAPI_WriteLock(const uint8_t LockBits); #endif