formatting

This commit is contained in:
Proddy
2022-11-13 14:35:04 +01:00
parent 92ac601072
commit 9dd0bf01e2
5 changed files with 617 additions and 586 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -584,7 +584,9 @@ const DashboardData: FC = () => {
</DialogTitle> </DialogTitle>
<DialogContent dividers> <DialogContent dividers>
<Box color="warning.main" p={0} pl={0} pr={0} mt={0} mb={2}> <Box color="warning.main" p={0} pl={0} pr={0} mt={0} mb={2}>
<Typography variant="body2">{LL.ID_OF(LL.SENSOR())}: {sensor.id}</Typography> <Typography variant="body2">
{LL.ID_OF(LL.SENSOR())}: {sensor.id}
</Typography>
</Box> </Box>
<Grid container spacing={1}> <Grid container spacing={1}>
<Grid item> <Grid item>

View File

@@ -141,7 +141,14 @@ const SettingsApplication: FC = () => {
</ValidatedTextField> </ValidatedTextField>
{data.board_profile === 'CUSTOM' && ( {data.board_profile === 'CUSTOM' && (
<> <>
<Grid container spacing={1} sx={{ pt: 1 }} direction="row" justifyContent="flex-start" alignItems="flex-start"> <Grid
container
spacing={1}
sx={{ pt: 1 }}
direction="row"
justifyContent="flex-start"
alignItems="flex-start"
>
<Grid item xs={6} sm={4}> <Grid item xs={6} sm={4}>
<ValidatedTextField <ValidatedTextField
fieldErrors={fieldErrors} fieldErrors={fieldErrors}
@@ -231,7 +238,14 @@ const SettingsApplication: FC = () => {
</Grid> </Grid>
</Grid> </Grid>
{data.phy_type !== 0 && ( {data.phy_type !== 0 && (
<Grid container spacing={1} sx={{ pt: 1 }} direction="row" justifyContent="flex-start" alignItems="flex-start"> <Grid
container
spacing={1}
sx={{ pt: 1 }}
direction="row"
justifyContent="flex-start"
alignItems="flex-start"
>
<Grid item xs={6} sm={4}> <Grid item xs={6} sm={4}>
<ValidatedTextField <ValidatedTextField
name="eth_power" name="eth_power"

View File

@@ -269,7 +269,7 @@ void TxService::send_poll() const {
} }
// Process the next telegram on the Tx queue // Process the next telegram on the Tx queue
// This is sent when we receieve a poll request // This is sent when we receive a poll request
void TxService::send() { void TxService::send() {
// don't process if we don't have a connection to the EMS bus // don't process if we don't have a connection to the EMS bus
if (!bus_connected()) { if (!bus_connected()) {