From 6fbd2e2989d3575503d3e8b60c427e9fc9eed11d Mon Sep 17 00:00:00 2001 From: alkorgh Date: Wed, 1 Jan 2025 11:54:54 +0300 Subject: [PATCH] Update support.c (correct definition of SSC30K) --- src/hal/support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hal/support.c b/src/hal/support.c index 24cf96b..b382945 100644 --- a/src/hal/support.c +++ b/src/hal/support.c @@ -64,7 +64,7 @@ void hal_identify(void) { if (package[2] == 'A') strcpy(chip, "SSC33[8/9]G"); else { - if (sysconf(_SC_NPROCESSORS_CONF) == 1) + if (sysconf(_SC_NPROCESSORS_ONLN) == 1) strcpy(chip, "SSC30K"); else strcpy(chip, "SSC33[6/8]");