Commit 9fb9a6bd authored by li hongming's avatar li hongming

Stop the WRPTP daemon before remote update.

parent 1fc9fea9
......@@ -220,6 +220,7 @@ static int rmupdate_poll(void)
switch(type)
{
case FLASH_ERASE:
wrc_ptp_run(0);
data_addr = (buf[UDP_END+8]<<24)+(buf[UDP_END+9]<<16)+(buf[UDP_END+10]<<8)+buf[UDP_END+11];
data_size = (buf[UDP_END+12]<<24)+(buf[UDP_END+13]<<16)+(buf[UDP_END+14]<<8)+buf[UDP_END+15];
flash_erase(data_addr,data_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment