Skip to content

Commit 61562b4

Browse files
wolfg1969marcelstoer
authored andcommitted
Fix typo in code sample (#2063)
1 parent e09e830 commit 61562b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/modules/hmc5883l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ temperature multiplied with 10 (integer)
2020
```lua
2121
local sda, scl = 1, 2
2222
i2c.setup(0, sda, scl, i2c.SLOW) -- call i2c.setup() only once
23-
hmc58831.setup()
23+
hmc5883l.setup()
2424
local x,y,z = hmc5883l.read()
2525
print(string.format("x = %d, y = %d, z = %d", x, y, z))
2626
```

0 commit comments

Comments
 (0)