Closed Yarn closed 2 years ago
I'm pretty sure the llvm_asm invocation should be marked as volatile like
unsafe {llvm_asm!("1: sbiw $0,1 brne 1b" : : "w" (0) : : "volatile")}
This could potentially explain https://github.com/avr-rust/delay/issues/11 and https://github.com/avr-rust/blink/issues/34 but I don't have an AVR device set up to test with.
llvm_asm!() has been replaced with asm!().
llvm_asm!()
asm!()
I'm pretty sure the llvm_asm invocation should be marked as volatile like
This could potentially explain https://github.com/avr-rust/delay/issues/11 and https://github.com/avr-rust/blink/issues/34 but I don't have an AVR device set up to test with.