Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
5e94f0b4
Commit
5e94f0b4
authored
May 03, 2016
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp8266/scripts/inisetup: Update for nic.mac() method being gone.
parent
a6cf4586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
esp8266/scripts/inisetup.py
esp8266/scripts/inisetup.py
+1
-1
No files found.
esp8266/scripts/inisetup.py
View file @
5e94f0b4
...
...
@@ -5,7 +5,7 @@ from flashbdev import bdev
def
wifi
():
import
ubinascii
ap_if
=
network
.
WLAN
(
network
.
AP_IF
)
essid
=
b"MicroPython-%s"
%
ubinascii
.
hexlify
(
ap_if
.
mac
(
)[
-
3
:])
essid
=
b"MicroPython-%s"
%
ubinascii
.
hexlify
(
ap_if
.
config
(
"mac"
)[
-
3
:])
ap_if
.
config
(
essid
=
essid
,
authmode
=
network
.
AUTH_WPA_WPA2_PSK
,
password
=
b"micropythoN"
)
def
check_bootsec
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment