Skip to content
Commit c7fe8f21 authored by Flavio Santes's avatar Flavio Santes Committed by Anas Nashif
Browse files

samples/nfc: Remove x86 asm code



This commit replaces the x86 asm line:

__asm__ __volatile__ ("bswap %0" : "=r" (x) : "0" (x));

by the sys_cpu_to_be32 macro.

By removing the x86 asm instruction, the nfc_hello sample app
can run on other platforms.

Jira: ZEP-1348

Change-Id: I440e96cd06e70a88552d179a2288c9918e6ca0b0
Signed-off-by: default avatarFlavio Santes <flavio.santes@intel.com>
parent 516e79c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment