From 1c26ba35d04a5393da687dfe169fed5d88514146 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Sun, 6 Mar 2022 15:09:19 -0500 Subject: [PATCH] FIx missing } in an example --- docs/modules/ble.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/ble.md b/docs/modules/ble.md index 561cd5f0..59faff8a 100644 --- a/docs/modules/ble.md +++ b/docs/modules/ble.md @@ -30,9 +30,9 @@ function read_battery_level() -- This ought to do something better! return 50 end -local battery = { uuid="180f", characteristics={ {uuid="2a19", type='B', read=read_battery_level} } } -local myservice = {uuid="0123456789abcdef0123456789abcdef", characteristics={{uuid="1234", value=0, type='c'}}} -local config = {name="MyGadget=", services={ myservice, battery } +battery = { uuid="180f", characteristics={ {uuid="2a19", type='B', read=read_battery_level} } } +myservice = {uuid="0123456789abcdef0123456789abcdef", characteristics={{uuid="1234", value=0, type='c'}}} +config = {name="MyGadget", services={ myservice, battery } } ble.init(config) ```