diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-16 09:13:42 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-16 09:13:42 +0000 |
commit | 021b1b567e8686d4addccb53511b7f5447392267 (patch) | |
tree | 715ebcd3abe811c19b0b8236f38d50c74142eadd /Projects/AVRISP/Lib/NVMTarget.c | |
parent | f0b4d796297cd4be311b8596c8308bad218adabd (diff) | |
download | lufa-021b1b567e8686d4addccb53511b7f5447392267.tar.gz lufa-021b1b567e8686d4addccb53511b7f5447392267.tar.bz2 lufa-021b1b567e8686d4addccb53511b7f5447392267.zip |
More speed and quality improvements to the software USART in the AVRISP project.
Diffstat (limited to 'Projects/AVRISP/Lib/NVMTarget.c')
-rw-r--r-- | Projects/AVRISP/Lib/NVMTarget.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Projects/AVRISP/Lib/NVMTarget.c b/Projects/AVRISP/Lib/NVMTarget.c index 10a911ff3..c4de1d2bd 100644 --- a/Projects/AVRISP/Lib/NVMTarget.c +++ b/Projects/AVRISP/Lib/NVMTarget.c @@ -48,23 +48,7 @@ void NVMTarget_SendNVMRegAddress(uint8_t Register) uint32_t Address = XPROG_Param_NVMBase | Register;
/* Send the calculated 32-bit address to the target, LSB first */
- PDITarget_SendByte(Address & 0xFF);
- PDITarget_SendByte(Address >> 8);
- PDITarget_SendByte(Address >> 16);
- PDITarget_SendByte(Address >> 24);
-}
-
-/** Sends the given 32-bit absolute address to the target.
- *
- * \param[in] AbsoluteAddress Absolute address to send to the target
- */
-void NVMTarget_SendAddress(uint32_t AbsoluteAddress)
-{
- /* Send the given 32-bit address to the target, LSB first */
- PDITarget_SendByte(AbsoluteAddress & 0xFF);
- PDITarget_SendByte(AbsoluteAddress >> 8);
- PDITarget_SendByte(AbsoluteAddress >> 16);
- PDITarget_SendByte(AbsoluteAddress >> 24);
+ NVMTarget_SendAddress(Address);
}
/** Waits while the target's NVM controller is busy performing an operation, exiting if the
|