add RGB Led to board profile

This commit is contained in:
MichaelDvP
2025-01-24 19:23:19 +01:00
parent e5f852a7ed
commit 73ccff3412
6 changed files with 100 additions and 78 deletions

View File

@@ -550,6 +550,23 @@ const ApplicationSettings = () => {
margin="normal"
/>
</Grid>
{data.led_gpio !== 0 && (
<Grid>
<TextField
name="led_type"
label={'LED ' + LL.TYPE()}
value={data.led_type}
fullWidth
variant="outlined"
onChange={updateFormValue}
margin="normal"
select
>
<MenuItem value={0}>LED</MenuItem>
<MenuItem value={1}>RGB-LED</MenuItem>
</TextField>
</Grid>
)}
<Grid>
<TextField
name="phy_type"