You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\setting.cpp:3:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\spam_ap.cpp:3:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.cpp:2:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\RTL8720DN-BW16-SH1107-OLED.ino:6:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\menu.cpp:5:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\deauther.cpp:5:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:4:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp: In function 'void showWifiScanResult()':
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:179:62: error: 'min' was not declared in this scope
uint8_t endIndex = min(startIndex + itemsPerPage, wifiCount);
^
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:179:62: note: suggested alternative:
In file included from c:\users\fonta\appdata\local\arduino15\packages\realtek\tools\ameba_d_asdk_toolchain\1.0.1\arm-none-eabi\include\c++\6.5.0\bits\char_traits.h:39:0,
from c:\users\fonta\appdata\local\arduino15\packages\realtek\tools\ameba_d_asdk_toolchain\1.0.1\arm-none-eabi\include\c++\6.5.0\string:40,
from C:\Users\fonta\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.7\cores\ambd/Arduino.h:36,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:1:
c:\users\fonta\appdata\local\arduino15\packages\realtek\tools\ameba_d_asdk_toolchain\1.0.1\arm-none-eabi\include\c++\6.5.0\bits\stl_algobase.h:243:5: note: 'std::min'
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp: In function 'void wifi_tx_raw_frame(void, size_t)':
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:12:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
void *frame_control = alloc_mgtxmitframe(ptr + 0xae0);
^~~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:15:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
update_mgntframe_attrib(ptr, frame_control + 8);
^
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:16:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
memset((void )(uint32_t *)(frame_control + 0x80), 0, 0x68);
^~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:17:68: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
uint8_t *frame_data = (uint8_t )(uint32_t *)(frame_control + 0x80) + 0x28;
^~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:19:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
*(uint32_t *)(frame_control + 0x14) = length;
^~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:20:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
*(uint32_t *)(frame_control + 0x18) = length;
^~~~
exit status 1
Compilation error: 'min' was not declared in this scope
The text was updated successfully, but these errors were encountered:
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\setting.cpp:3:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\spam_ap.cpp:3:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.cpp:2:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\RTL8720DN-BW16-SH1107-OLED.ino:6:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\menu.cpp:5:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\deauther.cpp:5:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass *theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
In file included from c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13:0,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\util.h:6,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:4:
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:95:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0, SPIClass theSPI = &SPI);
^~~~~~~~~
c:\Users\fonta\OneDrive\Documentos\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:104:41: error: 'SPI_MODE0' was not declared in this scope
uint8_t dataMode = SPI_MODE0);
^~~~~~~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp: In function 'void showWifiScanResult()':
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:179:62: error: 'min' was not declared in this scope
uint8_t endIndex = min(startIndex + itemsPerPage, wifiCount);
^
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:179:62: note: suggested alternative:
In file included from c:\users\fonta\appdata\local\arduino15\packages\realtek\tools\ameba_d_asdk_toolchain\1.0.1\arm-none-eabi\include\c++\6.5.0\bits\char_traits.h:39:0,
from c:\users\fonta\appdata\local\arduino15\packages\realtek\tools\ameba_d_asdk_toolchain\1.0.1\arm-none-eabi\include\c++\6.5.0\string:40,
from C:\Users\fonta\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.7\cores\ambd/Arduino.h:36,
from C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\scan_ap.cpp:1:
c:\users\fonta\appdata\local\arduino15\packages\realtek\tools\ameba_d_asdk_toolchain\1.0.1\arm-none-eabi\include\c++\6.5.0\bits\stl_algobase.h:243:5: note: 'std::min'
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp: In function 'void wifi_tx_raw_frame(void, size_t)':
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:12:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
void *frame_control = alloc_mgtxmitframe(ptr + 0xae0);
^~~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:15:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
update_mgntframe_attrib(ptr, frame_control + 8);
^
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:16:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
memset((void )(uint32_t *)(frame_control + 0x80), 0, 0x68);
^~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:17:68: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
uint8_t *frame_data = (uint8_t )(uint32_t *)(frame_control + 0x80) + 0x28;
^~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:19:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
*(uint32_t *)(frame_control + 0x14) = length;
^~~~
C:\Users\fonta\Downloads\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED-0.1.2\RTL8720DN-BW16-SH1107-OLED\wifi_cust_tx.cpp:20:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
*(uint32_t *)(frame_control + 0x18) = length;
^~~~
exit status 1
Compilation error: 'min' was not declared in this scope
The text was updated successfully, but these errors were encountered: