/* Read and display the ODR setting in the flash software buffer.  */
static int32_t cn0503_flash_read_odr(struct cn0503_dev *dev)
/* Read and display the ODR setting in the flash software buffer.  */
static int32_t cn0503_flash_read_odr(struct cn0503_dev *dev)
{
	uint8_t buff[20];
	float temp;
	memcpy((void *)&temp,
	       (void *)&dev->sw_flash_buffer[CN0503_FLASH_ODR_IDX], 4);
	sprintf((char *)buff, "%.2f", temp);
	cli_write_string(dev->cli_handler,
			 (uint8_t *)"RESP: FL_READ ODR?=");
	cli_write_string(dev->cli_handler, buff);
	cli_write_string(dev->cli_handler, (uint8_t *)"\n");
	return SUCCESS;
}