1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Use copy_time function in bflsc driver.

This commit is contained in:
Con Kolivas 2013-04-26 12:35:14 +10:00
parent 41fa60ce59
commit c30391225f

View File

@ -1214,9 +1214,9 @@ static void *bflsc_get_results(void *userdata)
cgtime(&now); cgtime(&now);
for (i = 0; i < sc_info->sc_count; i++) { for (i = 0; i < sc_info->sc_count; i++) {
memcpy(&(sc_info->sc_devs[i].last_check_result), &now, sizeof(now)); copy_time(&(sc_info->sc_devs[i].last_check_result), &now);
memcpy(&(sc_info->sc_devs[i].last_dev_result), &now, sizeof(now)); copy_time(&(sc_info->sc_devs[i].last_dev_result), &now);
memcpy(&(sc_info->sc_devs[i].last_nonce_result), &now, sizeof(now)); copy_time(&(sc_info->sc_devs[i].last_nonce_result), &now);
} }
while (sc_info->shutdown == false) { while (sc_info->shutdown == false) {