mirror of
https://github.com/M4TH1EU/DJI-FCC-HACK.git
synced 2025-07-02 01:43:09 +00:00
update images
This commit is contained in:
parent
cc401fa99b
commit
8a9635e0e3
BIN
.github/dark.webp
vendored
Normal file
BIN
.github/dark.webp
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
.github/light.webp
vendored
Normal file
BIN
.github/light.webp
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
.github/screenshot.webp
vendored
BIN
.github/screenshot.webp
vendored
Binary file not shown.
Before Width: | Height: | Size: 25 KiB |
@ -1,7 +1,7 @@
|
||||
# DJI-FCC-HACK
|
||||
A simple Android app that forces DJI N1 remotes to FCC
|
||||
|
||||

|
||||
<img src=".github/light.webp" alt="app" width="200"/><img src=".github/dark.webp" alt="app" width="200"/>
|
||||
|
||||
>[!WARNING]
|
||||
> This only works for drone with DJI N1 remotes. If you have a different remote, this app will not work for you.
|
||||
|
@ -5,6 +5,7 @@ import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.content.IntentFilter
|
||||
import android.content.res.Configuration
|
||||
import android.hardware.usb.UsbDevice
|
||||
import android.hardware.usb.UsbManager
|
||||
import android.os.Bundle
|
||||
@ -395,10 +396,10 @@ fun MainScreen(
|
||||
}
|
||||
|
||||
|
||||
@Preview(showBackground = true)
|
||||
@Preview(showBackground = true, device = "spec:width=411dp,height=891dp", apiLevel = 35, uiMode = Configuration.UI_MODE_NIGHT_NO)
|
||||
@Composable
|
||||
fun PreviewMainScreen() {
|
||||
DJI_FCC_HACK_Theme {
|
||||
DJI_FCC_HACK_Theme{
|
||||
MainScreen(usbConnected = true, onRefresh = {}, onSendPatch = { false }, isPatching = false)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user