Blame | Last modification | View Log | RSS feed
#include "circular_buffer.h"
#include "maindefs.h"
#pragma udata buffer1
static unsigned char buffer1[256];
#pragma udata buffer2
static unsigned char buffer2[256];
#pragma udata buffer3
static unsigned char buffer3[256];
#pragma udata
static BUFFER_DATA *buffer_data;
void buffer_init() {
buffer_data->read_ind = 0;
buffer_data->read_block = 0;
buffer_data->write_ind = 0;
buffer_data->write_block = 0;
}