20 lines
224 B
C
20 lines
224 B
C
#include "radio.h"
|
|
#include "status.h"
|
|
#include <avr/io.h>
|
|
#include <avr/interrupt.h>
|
|
|
|
bool RADIO_ASSOC=false;
|
|
uint8_t radio_cpt;
|
|
|
|
void init()
|
|
{
|
|
GICR|=_BV(INT2);
|
|
}
|
|
|
|
ISR(INT2_vect){
|
|
skip_sleep=1;
|
|
}
|
|
|
|
|
|
void radio_run(){
|
|
}
|