diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-04-05 15:34:01 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-04-06 09:06:53 -0700 |
commit | a61d8db3d3d7cb145abb3a3580c9a9cfe2d044d7 (patch) | |
tree | 6ff786efde031e483645c0900388ca53d51b5255 /test/pingpong.c | |
parent | 0eb94470511959c09e5cb0f55eda0478dd5c7b04 (diff) | |
download | chrome-ec-a61d8db3d3d7cb145abb3a3580c9a9cfe2d044d7.tar.gz |
Change task messages to events
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:7461
TEST=manual
make BOARD={bds,link,daisy}
make tests
flash link system and make sure it boots
Change-Id: I1241a1895c083e387e38ddab01ac346ca4474eb9
Diffstat (limited to 'test/pingpong.c')
-rw-r--r-- | test/pingpong.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/pingpong.c b/test/pingpong.c index 18115060d3..e6571080c5 100644 --- a/test/pingpong.c +++ b/test/pingpong.c @@ -1,7 +1,6 @@ -/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. - * Copyright 2011 Google Inc. * * Tasks for scheduling test. */ @@ -24,7 +23,7 @@ int TaskAbc(void *data) while (1) { uart_puts(string); uart_flush_output(); - task_send_msg(next, TASK_ID_CURRENT, 1); + task_set_event(next, TASK_EVENT_WAKE, 1); } return EC_SUCCESS; |