mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-05 16:05:54 -04:00
Merge pull request #543 from jacobeva/display-fix
Allow for use of display by master on NRF52
This commit is contained in:
commit
ef798e0d54
3 changed files with 6 additions and 3 deletions
|
@ -83,6 +83,7 @@ class KISS():
|
|||
|
||||
PLATFORM_AVR = 0x90
|
||||
PLATFORM_ESP32 = 0x80
|
||||
PLATFORM_NRF52 = 0x70
|
||||
|
||||
@staticmethod
|
||||
def escape(data):
|
||||
|
@ -328,7 +329,7 @@ class RNodeInterface(Interface):
|
|||
RNS.log("Could not detect device for "+str(self), RNS.LOG_ERROR)
|
||||
self.serial.close()
|
||||
else:
|
||||
if self.platform == KISS.PLATFORM_ESP32:
|
||||
if self.platform == KISS.PLATFORM_ESP32 or self.platform == KISS.PLATFORM_NRF52:
|
||||
self.display = True
|
||||
|
||||
RNS.log("Serial port "+self.port+" is now open")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue