use led1_on
This commit is contained in:
parent
6cf4e147ed
commit
0190c261e2
2 changed files with 9 additions and 8 deletions
|
@ -82,7 +82,7 @@ extern resource_t res_ds1820;
|
|||
#endif
|
||||
|
||||
#if defined (PLATFORM_HAS_LEDS)
|
||||
#include "dev/leds.h"
|
||||
#include "dev/led.h"
|
||||
extern resource_t res_leds;
|
||||
#endif
|
||||
|
||||
|
@ -100,7 +100,8 @@ void
|
|||
hw_init()
|
||||
{
|
||||
#if defined (PLATFORM_HAS_LEDS)
|
||||
leds_off(LEDS_RED);
|
||||
// leds_off(LEDS_RED);
|
||||
led1_off();
|
||||
#endif
|
||||
#if PLATFORM_HAS_DS1820
|
||||
ds1820_temp();
|
||||
|
@ -139,10 +140,10 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
|||
PRINTF("REST max chunk: %u\n", REST_MAX_CHUNK_SIZE);
|
||||
|
||||
/* if static routes are used rather than RPL */
|
||||
#if !UIP_CONF_IPV6_RPL && !defined (CONTIKI_TARGET_MINIMAL_NET) && !defined (CONTIKI_TARGET_NATIVE)
|
||||
set_global_address();
|
||||
configure_routing();
|
||||
#endif
|
||||
//#if !UIP_CONF_IPV6_RPL && !defined (CONTIKI_TARGET_MINIMAL_NET) && !defined (CONTIKI_TARGET_NATIVE)
|
||||
// set_global_address();
|
||||
// configure_routing();
|
||||
//#endif
|
||||
|
||||
/* Initialize the OSD Hardware. */
|
||||
hw_init();
|
||||
|
|
|
@ -41,11 +41,11 @@
|
|||
|
||||
|
||||
/* Some platforms have weird includes. */
|
||||
#undef IEEE802154_CONF_PANID
|
||||
//#undef IEEE802154_CONF_PANID
|
||||
|
||||
|
||||
/* Save energy */
|
||||
#define RDC_CONF_PT_YIELD_OFF
|
||||
//#define RDC_CONF_PT_YIELD_OFF
|
||||
|
||||
/* Disabling RDC for demo purposes. Core updates often require more memory. */
|
||||
/* For projects, optimize memory and enable RDC again. */
|
||||
|
|
Loading…
Add table
Reference in a new issue