     if (acked) { 
       return; 
     }      // Return if ACK received
-
-    Sleepy::loseSomeTime(RETRY_PERIOD * 1000);     // If no ack received wait and try again
+    sleep(30);
   }
 #else
   rf12_sleep(-1);              // Wake up RF module

/*
                 +-\/-+
           VCC  1|    |14  GND
      (D0) PB0  2|    |13  AREF (D10)
      (D1) PB1  3|    |12  PA1 (D9)
         RESET  4|    |11  PA2 (D8)
 INT0 (D2) PB2  5|    |10  PA3 (D7)
  PWM (D3) PA7  6|    |9   PA4 (D6)
  PWM (D4) PA6  7|    |8   PA5 (D5) PWM
                 +----+
*/

#include <stdlib.h>
#include <util/delay.h>
#include <JeeLib.h> // https://github.com/jcw/jeelib

ISR(WDT_vect) { 
  Sleepy::watchdogEvent(); 
} // interrupt handler for JeeLabs Sleepy power saving

#define myNodeID 8     // RF12 node ID in the range 1-30
#define network 210      // RF12 Network group

//#define DEBUG

int counter;
volatile uint8_t watchdog_counter;

typedef struct {
  int counter;
