altos: Add stub cc1120 driver
authorKeith Packard <keithp@keithp.com>
Sat, 31 Mar 2012 19:43:58 +0000 (12:43 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 31 Mar 2012 19:44:25 +0000 (12:44 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc1120.c [new file with mode: 0644]

diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c
new file mode 100644 (file)
index 0000000..9470fa8
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Copyright © 2012 Keith Packard <keithp@keithp.com>
+ *
+ * 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 <ao.h>
+
+uint32_t       ao_radio_cal = 1186611;
+
+void
+ao_radio_recv_abort(void)
+{
+}