From bbf31b8591f89e2a1fcc7dac5f42d730a81473d2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 31 Mar 2012 12:43:58 -0700 Subject: [PATCH 1/1] altos: Add stub cc1120 driver Signed-off-by: Keith Packard --- src/drivers/ao_cc1120.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/drivers/ao_cc1120.c diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c new file mode 100644 index 00000000..9470fa87 --- /dev/null +++ b/src/drivers/ao_cc1120.c @@ -0,0 +1,25 @@ +/* + * Copyright © 2012 Keith Packard + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +#include + +uint32_t ao_radio_cal = 1186611; + +void +ao_radio_recv_abort(void) +{ +} -- 2.30.2