Exemplo n.º 1
0
static VALUE
buffer_alloc_inout(int argc, VALUE* argv, VALUE klass)
{
    return buffer_initialize(argc, argv, buffer_allocate(klass));
}
Exemplo n.º 2
0
void initialize_rs485()
{
	static struct Candy sendBufferArray[64];
	buffer_initialize(&sendBuffer, sendBufferArray, 64, "networkPackets");
	ecrobot_init_rs485(NETWORK_SPEED);
}