mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 04:45:20 +03:00
Adding custom define input box (#3074)
This commit is contained in:
parent
b0a2c40c22
commit
2a01685373
4 changed files with 25 additions and 1 deletions
|
@ -807,6 +807,9 @@ firmware_flasher.initialize = function (callback) {
|
|||
|
||||
if (summary.releaseType === "Unstable") {
|
||||
request.commit = $('select[name="commits"] option:selected').val();
|
||||
$('input[name="customDefines"]').val().split(' ').map(element => element.trim()).forEach(v => {
|
||||
request.options.push(v);
|
||||
});
|
||||
}
|
||||
|
||||
self.releaseLoader.requestBuild(request, (info) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue