diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2023-10-10 09:48:31 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2023-10-10 09:48:31 -0400 |
commit | d7cd899653531ac5a8def9e9697b0d65b438b773 (patch) | |
tree | 0ae570693a9f549b940f7672bbdf69b710d48ee2 /firmware/source/conversion.cpp | |
parent | f3c28dd2f1a27ee8039a86942ccd2277fbb4102e (diff) |
Diffstat (limited to 'firmware/source/conversion.cpp')
-rw-r--r-- | firmware/source/conversion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/source/conversion.cpp b/firmware/source/conversion.cpp index 56a689e..8b6a927 100644 --- a/firmware/source/conversion.cpp +++ b/firmware/source/conversion.cpp @@ -156,6 +156,7 @@ void ConversionManager::threadRunner(void *) samples = entry(samples, size); asm("mov sp, %0" :: "r" (sp)); volatile auto testRead = *samples; + (void)testRead; } else { // Start execution timer: asm("mov %0, sp; eor r0, r0; svc 2" : "=r" (sp)); @@ -163,6 +164,7 @@ void ConversionManager::threadRunner(void *) // Stop execution timer: asm("mov r0, #1; svc 2; mov sp, %0" :: "r" (sp)); volatile auto testRead = *samples; + (void)testRead; } } |