Skip to content

Commit b947605

Browse files
authored
Touch up
1 parent 6612931 commit b947605

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

ports/espressif/boards/m5stack_stick_c/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static bool pmic_init(void) {
193193
}
194194

195195
// Reg: 12h
196-
// Enable EXTENT, DCDC1, LDO2 and LDO3
196+
// Enable CTRL_EXTEN, DCDC1, LDO2 and LDO3
197197
write_buf[0] = AXP192_DCDC13_LDO23_CTRL;
198198
write_buf[1] = AXP192_DCDC13_LDO23_CTRL_EXTEN |
199199
AXP192_DCDC13_LDO23_CTRL_LDO3 |

tests/basics/int_big1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# to test arbitrarily precision integers
1+
# to test arbitrary precision integers
22

33
x = 1000000000000000000000000000000
44
xn = -1000000000000000000000000000000

tests/basics/with_return.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def f():
3030
return (i, j)
3131
print(f())
3232

33-
# multiple for loops within nested with(s)
33+
# multiple for loops within nested with statements
3434
def f():
3535
with CtxMgr(1):
3636
for i in [1, 2]:
@@ -41,7 +41,7 @@ def f():
4141
return (i, j, k, l)
4242
print(f())
4343

44-
# multiple for loops that are optimised, and nested with(s)
44+
# multiple for loops that are optimised, and nested with statements
4545
def f():
4646
with CtxMgr(1):
4747
for i in range(1, 3):

tools/preprocess_frozen_modules.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def version_string(path=None, *, valid_semver=False):
2121
version = tag.strip().decode("utf-8", "strict")
2222
except subprocess.CalledProcessError:
2323
describe = subprocess.check_output("git describe --tags", shell=True, cwd=path)
24-
tag, additional_commits, committish = (
24+
tag, additional_commits, commit_ish = (
2525
describe.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
2626
)
27-
committish = committish[1:]
27+
commit_ish = commit_ish[1:]
2828
if valid_semver:
2929
version_info = semver.parse_version_info(tag)
3030
if not version_info.prerelease:
@@ -33,12 +33,12 @@ def version_string(path=None, *, valid_semver=False):
3333
+ "-alpha.0.plus."
3434
+ additional_commits
3535
+ "+"
36-
+ committish
36+
+ commit_ish
3737
)
3838
else:
39-
version = tag + ".plus." + additional_commits + "+" + committish
39+
version = tag + ".plus." + additional_commits + "+" + commit_ish
4040
else:
41-
version = committish
41+
version = commit_ish
4242
return version
4343

4444

0 commit comments

Comments
 (0)