Add a warning to the firmware update code.

This commit is contained in:
Jef Driesen 2013-08-21 10:03:54 +02:00
parent 8e1a8c14a3
commit 22a8bc70ea

View File

@ -860,7 +860,14 @@ hw_ostc_firmware_write (hw_ostc_device_t *device, unsigned char *data, unsigned
return rc;
}
/*
* Think twice before modifying the code for updating the ostc firmware!
* It has been carefully developed and tested with assistance from
* Heinrichs-Weikamp, using a special development unit. If you start
* experimenting with a normal unit and accidentally screw up, you might
* brick the device permanently and turn it into an expensive
* paperweight. You have been warned!
*/
dc_status_t
hw_ostc_device_fwupdate (dc_device_t *abstract, const char *filename)
{