From bd651f10d8c169fe70465c43735e5a1d7c51d1c4 Mon Sep 17 00:00:00 2001 From: sfromis <47082390+sfromis@users.noreply.github.com> Date: Sat, 30 Nov 2024 20:54:03 +0100 Subject: [PATCH] Update Berry.md Formatting --- docs/Berry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Berry.md b/docs/Berry.md index a3d94c7793..cb24b1a529 100644 --- a/docs/Berry.md +++ b/docs/Berry.md @@ -506,7 +506,7 @@ tasmota.remove\_driver|`(instance tasmota.gc|`() -> int`
Triggers garbage collection of Berry objects and returns the bytes currently allocated. This is for debug only and shouldn't be normally used. `gc` is otherwise automatically triggered when necessary. tasmota.urlfetch|`(url:string [, filename:string]) -> bytes:int`
Download a url (http or https) and store the content in the filesystem
`filename` is optional, needed if you want to change the name of the file from the url suffix. Returns the number of bytes downloaded or -1 if failed. tasmota.urlbecload|`(url:string) -> bool`
Download `.bec` file from a url and run it, return `true` if sucessful. This allows to run complementary code like Partition Wizard from precompiled Berry. -tasmota.scale\_uint|`(value:int, fromMin:int, fromMax:int, toMin:int, toMax:int) -> Linear scaling of an integer range, based on two points on the line, typically min and max for "from" and "to" ranges. +tasmota.scale\_uint|`(value:int, fromMin:int, fromMax:int, toMin:int, toMax:int)` -> Linear scaling of an integer range, based on two points on the line, typically min and max for "from" and "to" ranges. #### Functions used to retrieve Tasmota configuration