altos: Rework packet receive for cc1120
[fw/altos] / src / kernel / ao.h
index 6c6abd36271463a33b44594c0c457e8a197ae740..a225bc4aca9d81eac96e3f77bc04bc92f5323039 100644 (file)
@@ -132,6 +132,9 @@ ao_clock_init(void);
  */
 
 #ifndef ao_mutex_get
+uint8_t
+ao_mutex_try(__xdata uint8_t *ao_mutex, uint8_t task_id) __reentrant;
+
 void
 ao_mutex_get(__xdata uint8_t *ao_mutex) __reentrant;
 
@@ -521,9 +524,8 @@ struct ao_telemetry_raw_recv {
 #define AO_TELEMETRY_INTERVAL_RECOVER  AO_MS_TO_TICKS(1000)
 #endif
 
-#define AO_RADIO_RATE_38400    0
-#define AO_RADIO_RATE_9600     1
-#define AO_RADIO_RATE_2400     2
+void
+ao_telemetry_reset_interval(void);
 
 void
 ao_telemetry_set_interval(uint16_t interval);