mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-07 12:30:53 +00:00
Changed order of initialization to make light sensors work again: a previous change to irq.c seems to have conflicted with light sensor initialization
This commit is contained in:
parent
10f3964be1
commit
84e4bf7a15
@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)$Id: contiki-sky-main.c,v 1.32 2008/07/02 09:05:41 adamdunkels Exp $
|
||||
* @(#)$Id: contiki-sky-main.c,v 1.33 2008/07/07 23:44:58 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
@ -230,6 +230,9 @@ main(int argc, char **argv)
|
||||
process_init();
|
||||
process_start(&etimer_process, NULL);
|
||||
process_start(&sensors_process, NULL);
|
||||
|
||||
sensors_light_init();
|
||||
|
||||
ctimer_init();
|
||||
|
||||
cc2420_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user