summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-31 12:43:58 -0700
committerKeith Packard <keithp@keithp.com>2012-03-31 12:44:25 -0700
commitbbf31b8591f89e2a1fcc7dac5f42d730a81473d2 (patch)
tree4cc674b8d5574571fcda8b8c430c8441c264c1c5 /src
parent1f2b75518169c4f2da9762de46bf1d9a71a04d17 (diff)
altos: Add stub cc1120 driver
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/ao_cc1120.c25
1 files changed, 25 insertions, 0 deletions
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 <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)
+{
+}