Browse Source

copy-paste typo fix

Colin Davidson 1 month ago
parent
commit
b5629aeed9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/time/tsc_linux.odin

+ 1 - 1
core/time/tsc_linux.odin

@@ -6,7 +6,7 @@ import linux "core:sys/linux"
 
 _get_tsc_frequency :: proc "contextless" () -> (u64, bool) {
 	if ODIN_ARCH == .arm64 {
-		freq = u64(intrinsics.arm64_read_cycle_counter_frequency())
+		frequency := u64(intrinsics.arm64_read_cycle_counter_frequency())
 		return frequency, true
 	} else {
 		// Get the file descriptor for the perf mapping