Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-L072CZ-LRWAN1-base
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 51:aef3234bcb71
- Parent:
- 46:e78a1d0391ac
- Child:
- 61:08b50780eb91
diff -r 43f7160e869c -r aef3234bcb71 sx1276/sx1276-mbed-hal.h
--- a/sx1276/sx1276-mbed-hal.h Tue May 16 17:51:21 2017 +0200
+++ b/sx1276/sx1276-mbed-hal.h Wed May 17 15:40:13 2017 +0200
@@ -201,7 +201,7 @@
* @param [IN] buffer Buffer containing the new register's values
* @param [IN] size Number of registers to be written
*/
- virtual void Write( uint8_t addr, uint8_t *buffer, uint8_t size ) ;
+ virtual void Write( uint8_t addr, void *buffer, uint8_t size ) ;
/*!
* @brief Reads multiple radio registers starting at address
@@ -210,7 +210,7 @@
* @param [OUT] buffer Buffer where to copy the registers data
* @param [IN] size Number of registers to be read
*/
- virtual void Read ( uint8_t addr, uint8_t *buffer, uint8_t size ) ;
+ virtual void Read ( uint8_t addr, void *buffer, uint8_t size ) ;
/*!
* @brief Writes the buffer contents to the SX1276 FIFO
@@ -218,7 +218,7 @@
* @param [IN] buffer Buffer containing data to be put on the FIFO.
* @param [IN] size Number of bytes to be written to the FIFO
*/
- virtual void WriteFifo( uint8_t *buffer, uint8_t size ) ;
+ virtual void WriteFifo( void *buffer, uint8_t size ) ;
/*!
* @brief Reads the contents of the SX1276 FIFO
@@ -226,7 +226,7 @@
* @param [OUT] buffer Buffer where to copy the FIFO read data.
* @param [IN] size Number of bytes to be read from the FIFO
*/
- virtual void ReadFifo( uint8_t *buffer, uint8_t size ) ;
+ virtual void ReadFifo( void *buffer, uint8_t size ) ;
/*!
* @brief Reset the SX1276
