Removed some warnings.
This commit is contained in:
parent
774ac10bca
commit
57163c616d
|
@ -46,7 +46,6 @@ void stCalibrateVref(void)
|
||||||
// Calibrate Vref by measuring a known voltage, Vdd/2.
|
// Calibrate Vref by measuring a known voltage, Vdd/2.
|
||||||
//
|
//
|
||||||
// FIXME: add support for calibration if done in boost mode.
|
// FIXME: add support for calibration if done in boost mode.
|
||||||
extern int16u stmRadioTxPowerMode;
|
|
||||||
tokTypeMfgAnalogueTrimBoth biasTrim;
|
tokTypeMfgAnalogueTrimBoth biasTrim;
|
||||||
|
|
||||||
halCommonGetMfgToken(&biasTrim, TOKEN_MFG_ANALOG_TRIM_BOTH);
|
halCommonGetMfgToken(&biasTrim, TOKEN_MFG_ANALOG_TRIM_BOTH);
|
||||||
|
|
|
@ -67,8 +67,8 @@ void halSleepTimerIsr(void)
|
||||||
sleepTimerInterruptOccurred = TRUE;
|
sleepTimerInterruptOccurred = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CONVERT_QS_TO_TICKS(x) (x << 8)
|
#define CONVERT_QS_TO_TICKS(x) ((x) << 8)
|
||||||
#define CONVERT_TICKS_TO_QS(x) (x >> 8)
|
#define CONVERT_TICKS_TO_QS(x) ((x) >> 8)
|
||||||
#define TIMER_MAX_QS 0x1000000 // = 4194304 seconds * 4 = 16777216
|
#define TIMER_MAX_QS 0x1000000 // = 4194304 seconds * 4 = 16777216
|
||||||
static StStatus internalSleepForQs(boolean useGpioWakeMask,
|
static StStatus internalSleepForQs(boolean useGpioWakeMask,
|
||||||
int32u *duration,
|
int32u *duration,
|
||||||
|
|
|
@ -48,9 +48,7 @@ int16u halInternalStartSystemTimer(void);
|
||||||
* @return The least significant 16 bits of the current system time, in system
|
* @return The least significant 16 bits of the current system time, in system
|
||||||
* ticks.
|
* ticks.
|
||||||
*/
|
*/
|
||||||
#pragma pagezero_on // place this function in zero-page memory for xap
|
|
||||||
int16u halCommonGetInt16uMillisecondTick(void);
|
int16u halCommonGetInt16uMillisecondTick(void);
|
||||||
#pragma pagezero_off
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns the current system time in system ticks, as a 32-bit
|
* @brief Returns the current system time in system ticks, as a 32-bit
|
||||||
|
|
Loading…
Reference in a new issue