platform: add api for grabbing the system hostname
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user