platform: add api for grabbing the system hostname
This commit is contained in:
parent
0106b09c9b
commit
7e1b3b9500
@ -27,6 +27,10 @@ class Platform : public Task {
|
|||||||
static String devName = model() + " " + Platform::deviceID();
|
static String devName = model() + " " + Platform::deviceID();
|
||||||
return devName;
|
return devName;
|
||||||
}
|
}
|
||||||
|
static const String deviceHostname() {
|
||||||
|
static String devName = String("renderbug-") + Platform::deviceID();
|
||||||
|
return devName;
|
||||||
|
}
|
||||||
static void preSetup();
|
static void preSetup();
|
||||||
static void bootSplash();
|
static void bootSplash();
|
||||||
static void setup();
|
static void setup();
|
||||||
|
Loading…
Reference in New Issue
Block a user