1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

board/native: add information about the use of UTC

This commit is contained in:
Karl Fessel 2023-10-26 17:26:29 +02:00
parent 0574878d97
commit ffcfc56fd2

View File

@ -80,6 +80,9 @@ VFS_AUTO_MOUNT(native, { .hostpath = FS_NATIVE_DIR }, VFS_DEFAULT_NVM(0), 0);
*/
void board_init(void)
{
if (!getenv("TZ")) {
puts("TZ not set, setting UTC");
}
setenv("TZ", "UTC", 0);
puts("RIOT " RIOT_BOARD " board initialized.");
}