summaryrefslogtreecommitdiffhomepage
path: root/src/srp/fw-ec/kbd-sc-cb.c.html
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-05 23:30:58 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-05 23:30:58 +0200
commitcfa35dcb2d332977e80a5811b6d42e9949bd4814 (patch)
tree370274078ded58e2a3bded288feaccfa01b2c1a6 /src/srp/fw-ec/kbd-sc-cb.c.html
parent87dc34ab660fe91d3e77bde7548a9c6d05d28f03 (diff)
Use a macro to wrap code in <code> tags
Diffstat (limited to 'src/srp/fw-ec/kbd-sc-cb.c.html')
-rw-r--r--src/srp/fw-ec/kbd-sc-cb.c.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/srp/fw-ec/kbd-sc-cb.c.html b/src/srp/fw-ec/kbd-sc-cb.c.html
index ee98ccf..34b7f8d 100644
--- a/src/srp/fw-ec/kbd-sc-cb.c.html
+++ b/src/srp/fw-ec/kbd-sc-cb.c.html
@@ -1,6 +1,6 @@
-<code><span class="c-cmt">/* “make_code” is the scancode. “pressed” is a boolean that is true if this is a</span></code>
-<code><span class="c-cmt"> keydown event, and false if it’s a keyup. */</span></code>
-<code></code>
-<code>r = <span class="c-fn">my_handler_function</span>(make_code, pressed);</code>
-<code><span class="c-kw">if</span> (r != <span class="c-pp">EC_SUCCESS</span>)</code>
-<code> <span class="c-kw">return</span> r;</code>
+<span class="c-cmt">/* “make_code” is the scancode. “pressed” is a boolean that is true if this is a</span>
+<span class="c-cmt"> keydown event, and false if it’s a keyup. */</span>
+
+r = <span class="c-fn">my_handler_function</span>(make_code, pressed);
+<span class="c-kw">if</span> (r != <span class="c-pp">EC_SUCCESS</span>)
+ <span class="c-kw">return</span> r;