Change name of variable to MSPDEBUG_TILIB_PATH to match existing style.

This commit is contained in:
Daniel O'Connor 2018-08-24 14:04:52 +09:30
parent a2c48ed345
commit 97e5cb63aa
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ int tilib_api_init(void)
char libpath[PATH_MAX], *path;
libpath[0] = '\0';
if ((path = getenv("MSP430_PATH")) != NULL) {
if ((path = getenv("MSPDEBUG_TILIB_PATH")) != NULL) {
if (strlen(path) + strlen(tilib_filename) + 2 < PATH_MAX) {
strcat(libpath, path);
strcat(libpath, "/");