src/drivers/hc_sr04/hc_sr04.cpp
/**
 * Print a little info about the driver.
 */
Print a little info about the driver.
Print a little info about the driver .
void
info()
{
	if (g_dev == nullptr) {
		errx(1, "driver not running");
	}
	printf("state @ %p\n", g_dev);
	g_dev->print_info();
	exit(0);
}
void info ( ) { if ( g_dev == nullptr ) { errx ( 1 , " " ) ; } printf ( " \n " , g_dev ) ; g_dev -> print_info ( ) ; exit ( 0 ) ; }
Print a little info about the driver.
Print a little info about the driver .