Fix compile warnings about mixing device and interface orientations
Merge pull request #2 from rivera-ernesto/fix_warnings

Fix compile warnings about mixing device and interface orientations