mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 20:59:50 +04:00
Various Fixes and Improvements (#3059)
* FuriHal: lower MGG display contrast by 4 points * FuriHal: unify external gpio resources initialization * Infrared: parse raw in universal TV file, cleanup it with new ifrared script. Other minor changes. * Gui: fix elements_multiline_text_aligned eating symbols * Lib: human readable errors in flipper application package * Special request from marketing team
This commit is contained in:
@@ -67,7 +67,10 @@ class FlipperFormatFile:
|
||||
self.writeLine("")
|
||||
|
||||
def writeComment(self, text: str):
|
||||
self.writeLine(f"# {text}")
|
||||
if text:
|
||||
self.writeLine(f"# {text}")
|
||||
else:
|
||||
self.writeLine("#")
|
||||
|
||||
def getHeader(self):
|
||||
if self.cursor != 0 and len(self.lines) == 0:
|
||||
|
||||
Reference in New Issue
Block a user