SX126xDevKit
Dependencies: mbed DmTftLibrary SX126xLib
Diff: Peripherals/Eeprom.h
- Revision:
- 1:b96176a4ccb8
- Parent:
- 0:e5420f1a8a1a
--- a/Peripherals/Eeprom.h Tue Sep 05 08:15:37 2017 +0000 +++ b/Peripherals/Eeprom.h Fri Mar 09 13:28:34 2018 +0000 @@ -139,8 +139,9 @@ * \brief Initialises the contents of EepromData * * \param [in] deviceConnected Device currently connected + * \param [in] matchingFreq matching frequency */ -void EepromInit( uint8_t deviceConnected ); +void EepromInit( uint8_t deviceConnected, uint8_t matchingFreq ); /*! * \brief Read Eeprom from emulated EEPROM (in fact in Flash " higher address). @@ -176,7 +177,14 @@ * \brief Initialises the contents of flash to default values & save to EEPROM * * \param [in] deviceConnected Device currently connected + * \param [in] matchingFreq board matching frequency */ -void EepromSetDefaultSettings( uint8_t deviceConnected ); +void EepromSetDefaultSettings( uint8_t deviceConnected, uint8_t matchingFreq ); + +/*! + * \brief Erase the data checksum to reset the radio to default parameters + * + */ +void EepromEraseCheckSum( void ); #endif //EEPROM_H