hardware hacking: Fix embedded code snippets