Removed some warnings.

This commit is contained in:
Salvatore Pitrulli 2011-03-25 09:07:54 +01:00 committed by Salvatore Pitrulli
parent 774ac10bca
commit 57163c616d
3 changed files with 2 additions and 5 deletions

View file

@ -46,7 +46,6 @@ void stCalibrateVref(void)
// Calibrate Vref by measuring a known voltage, Vdd/2.
//
// FIXME: add support for calibration if done in boost mode.
extern int16u stmRadioTxPowerMode;
tokTypeMfgAnalogueTrimBoth biasTrim;
halCommonGetMfgToken(&biasTrim, TOKEN_MFG_ANALOG_TRIM_BOTH);

View file

@ -67,8 +67,8 @@ void halSleepTimerIsr(void)
sleepTimerInterruptOccurred = TRUE;
}
#define CONVERT_QS_TO_TICKS(x) (x << 8)
#define CONVERT_TICKS_TO_QS(x) (x >> 8)
#define CONVERT_QS_TO_TICKS(x) ((x) << 8)
#define CONVERT_TICKS_TO_QS(x) ((x) >> 8)
#define TIMER_MAX_QS 0x1000000 // = 4194304 seconds * 4 = 16777216
static StStatus internalSleepForQs(boolean useGpioWakeMask,
int32u *duration,

View file

@ -48,9 +48,7 @@ int16u halInternalStartSystemTimer(void);
* @return The least significant 16 bits of the current system time, in system
* ticks.
*/
#pragma pagezero_on // place this function in zero-page memory for xap
int16u halCommonGetInt16uMillisecondTick(void);
#pragma pagezero_off
/**
* @brief Returns the current system time in system ticks, as a 32-bit