Fixed compilation warnings

This commit is contained in:
Silvano Seva 2022-06-02 09:04:04 +02:00
parent 521865f489
commit 14f2dccef9
3 changed files with 5 additions and 3 deletions

View File

@ -27,10 +27,10 @@
#include "W25Qx.h"
#include "cps_data_GDx.h"
//static const uint32_t zoneBaseAddr = 0x149e0; /**< Base address of zones */
//static const uint32_t zoneBaseAddr = 0x149e0; /**< Base address of zones */
//static const uint32_t vfoChannelBaseAddr = 0x7590; /**< Base address of VFO channel */
static const uint32_t channelBaseAddrEEPROM = 0x03780; /**< Base address of channel data */
static const uint32_t channelBaseAddrFlash = 0x7b1c0; /**< Base address of channel data */
static const uint32_t vfoChannelBaseAddr = 0x7590; /**< Base address of VFO channel */
static const uint32_t zoneBaseAddr = 0x8010; /**< Base address of zones */
static const uint32_t contactBaseAddr = 0x87620; /**< Base address of contacts */
static const uint32_t maxNumChannels = 1024; /**< Maximum number of channels in memory */

View File

@ -27,9 +27,9 @@
#include "cps_data_MDUV3x0.h"
#include "W25Qx.h"
//static const uint32_t vfoChannelBaseAddr = 0x2EF00; /**< Base address of VFO channel */
static const uint32_t zoneBaseAddr = 0x149E0; /**< Base address of zones */
static const uint32_t zoneExtBaseAddr = 0x31000; /**< Base address of zone extensions */
static const uint32_t vfoChannelBaseAddr = 0x2EF00; /**< Base address of VFO channel */
static const uint32_t chDataBaseAddr = 0x110000; /**< Base address of channel data */
static const uint32_t contactBaseAddr = 0x140000; /**< Base address of contacts */
static const uint32_t maxNumChannels = 3000; /**< Maximum number of channels in memory */

View File

@ -38,6 +38,7 @@ void nvm_terminate()
void nvm_readCalibData(void *buf)
{
(void) buf;
return;
}
@ -71,5 +72,6 @@ int nvm_readSettings(settings_t *settings)
int nvm_writeSettings(const settings_t *settings)
{
// Disable settings write until DFU is implemented for flash backups
(void) settings;
return -1;
}