added initialization of flags
This commit is contained in:
parent
b6008e9821
commit
97f660451f
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* @(#)$Id: vib-sensor.c,v 1.2 2006/10/09 21:08:51 nifi Exp $
|
* @(#)$Id: vib-sensor.c,v 1.3 2007/03/28 09:58:47 nifi Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki-esb.h"
|
#include "contiki-esb.h"
|
||||||
|
@ -58,6 +58,7 @@ irq(void)
|
||||||
static void
|
static void
|
||||||
init(void)
|
init(void)
|
||||||
{
|
{
|
||||||
|
flags = VIB_ENABLE_EVENT;
|
||||||
vib = 0;
|
vib = 0;
|
||||||
VIB_SELECT();
|
VIB_SELECT();
|
||||||
VIB_MAKE_INPUT();
|
VIB_MAKE_INPUT();
|
||||||
|
|
Loading…
Reference in a new issue