From d73b443ecce9ae7a3844b9b8d28aa85db281b61a Mon Sep 17 00:00:00 2001 From: Graham Edgecombe Date: Fri, 29 Dec 2017 17:09:53 +0000 Subject: [PATCH] Replace __asm__ with asm --- progmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progmem.c b/progmem.c index d2948bb..e1916da 100644 --- a/progmem.c +++ b/progmem.c @@ -18,7 +18,7 @@ static void uart_puts(const char *str) { static inline uint32_t rdcycle(void) { uint32_t cycle; - __asm__ volatile ("rdcycle %0" : "=r"(cycle)); + asm volatile ("rdcycle %0" : "=r"(cycle)); return cycle; }