mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
formatting
This commit is contained in:
1175
interface/package-lock.json
generated
1175
interface/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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>
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user