| 249 | } |
| 250 | |
| 251 | bool flasher::getFirmwareMac() { |
| 252 | if (!mac_offset) return false; |
| 253 | switch (mac_format) { |
| 254 | case 1: |
| 255 | get_mac_format1(); |
| 256 | break; |
| 257 | case 2: |
| 258 | get_mac_format2(); |
| 259 | break; |
| 260 | default: |
| 261 | return false; |
| 262 | } |
| 263 | return true; |
| 264 | } |
| 265 | |
| 266 | void flasher::getMacFromWiFi() { |
| 267 | mac[0] = 0x00; |
no outgoing calls
no test coverage detected