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:
parent
0574878d97
commit
ffcfc56fd2
@ -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.");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user