minor text fix + macro define in the right place

This commit is contained in:
2021-11-24 11:32:19 +01:00
parent 81eb0217ad
commit e9caa53af0
7 changed files with 6 additions and 5 deletions

View File

@ -10,7 +10,6 @@
#include <sys/sysinfo.h>
#include <unistd.h> // usleep
#define BLACKFIN_DEFINED
/* global variables */
// clang-format off
#define MAX_TIME_FPGA_TOUCH_FLASH_US (10 * 1000 * 1000) // 10s
@ -275,7 +274,7 @@ int allowUpdate(char *mess, char *functionType) {
getKernelVersion(retvals);
snprintf(mess, MAX_STR_LENGTH,
"Could not update %s. Kernel version %s is too old to "
"update the Amd flash. Most likely you will need to resuce this blackfin or get another one. Please contact us.\n",
"update the Amd flash/ root directory. Most likely, blackfin needs rescue or replacement. Please contact us.\n",
functionType, retvals);
LOG(logERROR, (mess));
return FAIL;