From 65142eca1bf24b79566d8dddd83a34bd9fbcc4d9 Mon Sep 17 00:00:00 2001
From: sfromis <47082390+sfromis@users.noreply.github.com>
Date: Sat, 30 Nov 2024 20:57:16 +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 cb24b1a529..6048c0a12a 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) -> 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