Skip to content

Commit 082a78e

Browse files
committed
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2 parents 073aa23 + 7985f25 commit 082a78e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

STM32F1/libraries/SPI/src/SPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ void SPIClass::write(const uint8 *data, uint32 length) {
360360
}
361361
}
362362

363-
uint16_t SPIClass::transfer(uint16_t wr_data) const {
363+
uint16_t SPIClass::transfer16(uint16_t wr_data) const {
364364
spi_tx_reg(_currentSetting->spi_d, wr_data); // "2. Write the first data item to be transmitted into the SPI_DR register (this clears the TXE flag)."
365365
while (spi_is_rx_nonempty(_currentSetting->spi_d) == 0); // "4. Wait until RXNE=1 ..."
366366
uint16_t rd_data = spi_rx_reg(_currentSetting->spi_d); // "... and read the last received data."

STM32F1/libraries/SPI/src/SPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class SPIClass {
260260
* @return Next unread byte.
261261
*/
262262
uint8 transfer(uint8 data) const;
263-
uint16_t transfer(uint16_t data) const;
263+
uint16_t transfer16(uint16_t data) const;
264264

265265
/**
266266
* @brief Sets up a DMA Transfer for "length" bytes.

tools/linux/jlink_upload

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ echo loadbin "$1" , 0x8000000 >> "$1".jlink
55
echo r >> "$1".jlink
66
echo q >> "$1".jlink
77

8-
/opt/SEGGER/JLink_V610e/JLinkExe -device STM32F103C8 -if SWD -speed auto -CommanderScript "$1".jlink
8+
/opt/SEGGER/JLink/JLinkExe -device STM32F103C8 -if SWD -speed auto -CommanderScript "$1".jlink
99

0 commit comments

Comments
 (0)