<p>Kévin Redon has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10763">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">EEPROM: fix Wformat compile warning<br><br>Change-Id: I86434a46a75f2acc30e20c33edab6dd3f87e052b<br>---<br>M firmware/libboard/qmod/source/board_qmod.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/63/10763/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/libboard/qmod/source/board_qmod.c b/firmware/libboard/qmod/source/board_qmod.c</span><br><span>index 55efb54..dcfe17f 100644</span><br><span>--- a/firmware/libboard/qmod/source/board_qmod.c</span><br><span>+++ b/firmware/libboard/qmod/source/board_qmod.c</span><br><span>@@ -165,13 +165,13 @@</span><br><span>             UART_GetIntegerMinMax(&addr, 0, 255);</span><br><span>            printf("Please enter EEPROM value:\n\r");</span><br><span>          UART_GetIntegerMinMax(&val, 0, 255);</span><br><span style="color: hsl(0, 100%, 40%);">-                printf("Writing value 0x%02x to EEPROM offset 0x%02x\n\r", val, addr);</span><br><span style="color: hsl(120, 100%, 40%);">+              printf("Writing value 0x%02lx to EEPROM offset 0x%02lx\n\r", val, addr);</span><br><span>           eeprom_write_byte(0x50, addr, val);</span><br><span>          break;</span><br><span>       case 'r':</span><br><span>            printf("Please enter EEPROM offset:\n\r");</span><br><span>                 UART_GetIntegerMinMax(&addr, 0, 255);</span><br><span style="color: hsl(0, 100%, 40%);">-               printf("EEPROM[0x%02x] = 0x%02x\n\r", addr, eeprom_read_byte(0x50, addr));</span><br><span style="color: hsl(120, 100%, 40%);">+          printf("EEPROM[0x%02lx] = 0x%02x\n\r", addr, eeprom_read_byte(0x50, addr));</span><br><span>                break;</span><br><span>       default:</span><br><span>             printf("Unknown command '%c'\n\r", ch);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10763">change 10763</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10763"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I86434a46a75f2acc30e20c33edab6dd3f87e052b </div>
<div style="display:none"> Gerrit-Change-Number: 10763 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kévin Redon <kredon@sysmocom.de> </div>