std_blocks/ramp/ramp.h
int ramp_mod_init(ubx_node_info_t *ni)
{
	int ret = -1;
	ubx_type_t *tptr;

	for (tptr = types; tptr->name != NULL; tptr++) {
		if (ubx_type_register(ni, tptr) != 0)
			goto out;
	}

	if (ubx_block_register(ni, &ramp_block) != 0)
		goto out;

	ret = 0;
out:
	return ret;
}
/* ramp module init and cleanup functions */
ramp module init and cleanup functions
ramp module init and cleanup functions
int ramp_mod_init(ubx_node_info_t *ni)
{
	int ret = -1;
	ubx_type_t *tptr;
	for (tptr = types; tptr->name != NULL; tptr++) {
		if (ubx_type_register(ni, tptr) != 0)
			goto out;
	}
	if (ubx_block_register(ni, &ramp_block) != 0)
		goto out;
	ret = 0;
out:
	return ret;
}
int ramp_mod_init ( ubx_node_info_t * ni ) { int ret = -1 ; ubx_type_t * tptr ; for ( tptr = types ; tptr -> name != NULL ; tptr ++ ) { if ( ubx_type_register ( ni , tptr ) != 0 ) goto out ; } if ( ubx_block_register ( ni , & ramp_block ) != 0 ) goto out ; ret = 0 ; out : return ret ; }
ramp module init and cleanup functions
ramp module init and cleanup functions