feat(MP/kernel): add example

This commit is contained in:
2026-06-05 12:15:11 +02:00
committed by Fastium
parent c012b2dcc4
commit 995f9c43c5
+5
View File
@@ -22,6 +22,11 @@ static int __init temp_regulator_init(void) {
return ret;
}
uint32_t temp = read_temp();
pr_info("temp_regulator: Temperature=%u.%03u C\n",
temp / 1000,
temp % 1000);
pr_info("Linux module temp_regulator loaded\n");
return 0;
}