Skip to content

Commit c5bcc3f

Browse files
authored
Merge pull request #170 from ajnavarro/patch-1
Fix some small typos into the installation guide
2 parents b99a5d2 + 040e3be commit c5bcc3f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,21 +110,22 @@ Make sure you select the right com-port, the right upload size of your ESP8266 a
110110
**10** Open `user_interface.h` with a text editor
111111

112112
**11** Scroll down and before `#endif` add following lines:
113+
```c++
114+
typedef void (*freedom_outside_cb_t)(uint8 status);
115+
int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);
116+
void wifi_unregister_send_pkt_freedom_cb(void);
117+
int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);
113118

114-
`typedef void (*freedom_outside_cb_t)(uint8 status);`
115-
`int Wi-Fi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);`
116-
`void Wi-Fi_unregister_send_pkt_freedom_cb(void);`
117-
`int Wi-Fi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);`
118-
119+
```
119120
![screenshot of notepad, copy paste the right code](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/notepad_screenshot_1.JPG)
120121
121122
**don't forget to save!**
122123
123124
**12** Go to the SDK_fix folder of this project
124125
125-
**13** Copy ESP8266Wi-Fi.cpp and ESP8266Wi-Fi.h
126+
**13** Copy ESP8266WiFi.cpp and ESP8266WiFi.h
126127
127-
**14** Past these files here `packages` > `esp8266` > `hardware` > `esp8266` > `2.0.0` > `libraries` > `ESP8266Wi-Fi` > `src`
128+
**14** Past these files here `packages` > `esp8266` > `hardware` > `esp8266` > `2.0.0` > `libraries` > `ESP8266WiFi` > `src`
128129
129130
**15** Open `esp8266_deauther` > `esp8266_deauther.ino` in Arduino
130131

0 commit comments

Comments
 (0)