This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Merge branch 'dev' of github.com:xoseperez/espurna into dev
rfm69
Xose Pérez
6 years ago
parent
ad623524f5
e54b5aba0d
commit
6c626600cc
2 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
code/espurna/config/defaults.h
+1
-1
code/espurna/utils.ino
+ 1
- 1
code/espurna/config/defaults.h
View File
@ -399,7 +399,7 @@
/
/
General
/
/
General
/
/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
/
/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
/
/
Default
hostname
will
be
ESPURNA
_
XXXXXX
,
where
XXXXXX
is
last
3
octets
of
chipID
/
/
Default
hostname
will
be
ESPURNA
-
XXXXXX
,
where
XXXXXX
is
last
3
octets
of
chipID
#
ifndef HOSTNAME
#
ifndef HOSTNAME
#
define HOSTNAME ""
#
define HOSTNAME ""
#
endif
#
endif
+ 1
- 1
code/espurna/utils.ino
View File
@ -11,7 +11,7 @@ Ticker _defer_reset;
String
getIdentifier
(
)
{
String
getIdentifier
(
)
{
char
buffer
[
20
]
;
char
buffer
[
20
]
;
snprintf_P
(
buffer
,
sizeof
(
buffer
)
,
PSTR
(
"
%s
_
%06X
"
)
,
APP_NAME
,
ESP
.
getChipId
(
)
)
;
snprintf_P
(
buffer
,
sizeof
(
buffer
)
,
PSTR
(
"
%s
-
%06X
"
)
,
APP_NAME
,
ESP
.
getChipId
(
)
)
;
return
String
(
buffer
)
;
return
String
(
buffer
)
;
}
}
Write
Preview
|
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save