samples/subsys/usb/dfu/src/usb_dfu.c
/**
 * @brief Helper function to check if in DFU app state.
 *
 * @return  true if app state, false otherwise.
 */
@brief Helper function to check if in DFU app state.
@return  true if app state, false otherwise.
@brief Helper function to check if in DFU app state . @return true if app state false otherwise .
static bool dfu_check_app_state(void)
{
	if (dfu_data.state == appIDLE ||
	    dfu_data.state == appDETACH) {
		dfu_data.state = appIDLE;
		return true;
	}
	return false;
}
static bool dfu_check_app_state ( void ) { if ( dfu_data . state == appIDLE || dfu_data . state == appDETACH ) { dfu_data . state = appIDLE ; return true ; } return false ; }
@brief Helper function to check if in DFU app state.
@brief Helper function to check if in DFU app state .