For robots and stuff

Dependents:   Base Station

Revision:
2:c42a035d71ed
Parent:
1:05a48c038381
diff -r 05a48c038381 -r c42a035d71ed CC1101/CC1101.h
--- a/CC1101/CC1101.h	Sun Dec 28 06:28:42 2014 +0000
+++ b/CC1101/CC1101.h	Wed Dec 31 22:16:01 2014 +0000
@@ -209,7 +209,7 @@
      * @param *txBuffer Pointer to a buffer containing the data that are going to be transmitted
      * @param size The size of the txBuffer
      */
-    virtual void put_pck(uint8_t*, uint8_t, bool = false);
+    virtual void put_pck(uint8_t*, uint8_t);
 
 
     /**
@@ -243,13 +243,13 @@
 
 
     void tx_mode(void);
-    
+
     void idle(void);
 
     virtual void powerUp(void);
 
 protected:
-    
+
     DigitalOut *_csn;
     /*
     DigitalOut _tx_led;
@@ -262,9 +262,9 @@
     void calibrate();
 
 private:
-    
+
     //static void threadStarter(void const*);
-    
+
     /*
     static void led_tick(void const*);
 
@@ -274,13 +274,13 @@
     */
 
     void rssi(uint8_t);
-/*
-    Thread _receive_thread;
-    Thread _transmit_thread;
-    Thread _tx_led_thread;
-    Thread _rx_led_thread;
-    //Thread _serial_thread;
-    */
+    /*
+        Thread _receive_thread;
+        Thread _transmit_thread;
+        Thread _tx_led_thread;
+        Thread _rx_led_thread;
+        //Thread _serial_thread;
+        */
 
     void setup_spi(PinName = NC, PinName = NC, PinName = NC);
     void setup_pins(PinName = NC, PinName = NC);
@@ -296,7 +296,7 @@
     void assign_freq_offset(uint8_t);
 
     // ISR routine for new radio data received over the air
-    // void isr_receive(void);
+    void isr_receive(void);
     void power_on_reset(void);
     void put_rf_settings(void);
     void compute_freq(void);
@@ -323,7 +323,7 @@
     PinName     _so;
     PinName     _si;
     PinName     _sck;
-    
+
 // Variables used to calculate RSSI
     uint8_t rssi_dec;
     int16_t rssi_dBm;