mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
RANDOM_MAX changed to RANDOM_RAND_MAX.
This commit is contained in:
parent
fb75503624
commit
9aa734936f
@ -29,7 +29,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki OS
|
* This file is part of the Contiki OS
|
||||||
*
|
*
|
||||||
* $Id: rand.c,v 1.2 2010/10/26 10:47:23 salvopitru Exp $
|
* $Id: rand.c,v 1.3 2011/01/17 10:08:14 salvopitru Exp $
|
||||||
*/
|
*/
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
@ -43,8 +43,8 @@
|
|||||||
#include "dev/stm32w-radio.h"
|
#include "dev/stm32w-radio.h"
|
||||||
#include "lib/random.h"
|
#include "lib/random.h"
|
||||||
|
|
||||||
#if (RANDOM_MAX != 0xffff)
|
#if (RANDOM_RAND_MAX != 0xffff)
|
||||||
#warning "RANDOM_MAX is not defined as 65535."
|
#warning "RANDOM_RAND_MAX is not defined as 65535."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int rand(void)
|
int rand(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user