Skip to content

Mark llvm_asm calls as volatile #13

Closed
@Yarn

Description

@Yarn

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 #11 and avr-rust/blink#34 but I don't have an AVR device set up to test with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions