mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-07 12:09:31 +00:00
Run Trunk Format and Translate Comments FR->EN
This commit is contained in:
parent
19a19c9bcf
commit
436c2d0cb0
@ -249,15 +249,15 @@ static void drawEthernetFrame(OLEDDisplay *display, OLEDDisplayUiState *state, i
|
||||
|
||||
display->setColor(WHITE);
|
||||
|
||||
// Position verticale ajustée - commence plus haut
|
||||
int16_t y_offset = y + 2; // Réduit l'espace au-dessus
|
||||
// Adjust vertical position verticale ajustée - starts higher
|
||||
int16_t y_offset = y + 2; // Reduces space at top
|
||||
|
||||
// Alignement à gauche (x + petit offset)
|
||||
// Left Alignement (x + small offset)
|
||||
int16_t x_offset = x + 2;
|
||||
|
||||
// Affichage non centré, aligné à gauche
|
||||
// Display is not centered, align left
|
||||
display->drawString(x_offset, y_offset, "Ethernet Config:");
|
||||
y_offset += FONT_HEIGHT_SMALL + 2; // Espacement légèrement réduit
|
||||
y_offset += FONT_HEIGHT_SMALL + 2; // Slightly reduced spacing
|
||||
|
||||
display->drawString(x_offset, y_offset, "IP: " + Ethernet.localIP().toString());
|
||||
y_offset += FONT_HEIGHT_SMALL;
|
||||
@ -266,13 +266,12 @@ static void drawEthernetFrame(OLEDDisplay *display, OLEDDisplayUiState *state, i
|
||||
y_offset += FONT_HEIGHT_SMALL;
|
||||
|
||||
display->drawString(x_offset, y_offset, "GW: " + Ethernet.gatewayIP().toString());
|
||||
//y_offset += FONT_HEIGHT_SMALL;
|
||||
// y_offset += FONT_HEIGHT_SMALL;
|
||||
|
||||
//display->drawString(x_offset, y_offset, "DNS: " + Ethernet.dnsServerIP().toString());
|
||||
// display->drawString(x_offset, y_offset, "DNS: " + Ethernet.dnsServerIP().toString());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void Screen::drawFrameText(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y, const char *message)
|
||||
{
|
||||
uint16_t x_offset = display->width() / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user