diff --git a/src/system/libroot/os/arch/arm/system_time.c b/src/system/libroot/os/arch/arm/system_time.c index 6514ae92e4..bef6175a18 100644 --- a/src/system/libroot/os/arch/arm/system_time.c +++ b/src/system/libroot/os/arch/arm/system_time.c @@ -35,6 +35,6 @@ system_time(void) { uint64 timeBase = __arm_get_time_base(); - uint32 cv = *sConversionFactor; + uint32 cv = sConversionFactor ? *sConversionFactor : 0; return (timeBase >> 32) * cv + (((timeBase & 0xffffffff) * cv) >> 32); }