mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
removed comments
This commit is contained in:
@@ -19,7 +19,6 @@ const FirmwareFileUpload: FC<UploadFirmwareProps> = ({ uploadFirmware }) => {
|
|||||||
my={2}
|
my={2}
|
||||||
/>
|
/>
|
||||||
<SingleUpload
|
<SingleUpload
|
||||||
// accept="application/octet-stream"
|
|
||||||
accept=".bin"
|
accept=".bin"
|
||||||
onDrop={uploadFile}
|
onDrop={uploadFile}
|
||||||
onCancel={cancelUpload}
|
onCancel={cancelUpload}
|
||||||
|
|||||||
@@ -83,7 +83,6 @@ export function resetCustomizations(): AxiosPromise<void> {
|
|||||||
return AXIOS.post('/resetCustomizations');
|
return AXIOS.post('/resetCustomizations');
|
||||||
}
|
}
|
||||||
|
|
||||||
// EMS-ESP API calls
|
|
||||||
export function API(apiCall: APIcall): AxiosPromise<void> {
|
export function API(apiCall: APIcall): AxiosPromise<void> {
|
||||||
return AXIOS_API.post('/', apiCall);
|
return AXIOS_API.post('/', apiCall);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ export interface DeviceEntity {
|
|||||||
n: string; // name
|
n: string; // name
|
||||||
s: string; // shortname
|
s: string; // shortname
|
||||||
m: number; // mask
|
m: number; // mask
|
||||||
|
om?: number; // original mask before edits
|
||||||
w: boolean; // writeable
|
w: boolean; // writeable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user