mirror of
https://github.com/apache/nuttx.git
synced 2025-12-09 19:54:55 +08:00
refactor: fix spelling in private field names
Fix some misspelled field names. These field names seem to be used only in private contexts. Thus, the probability of external code accessing these fields is very low. In the rare case of external usage, compile time errors will easily direct users to the new field name.
This commit is contained in:
committed by
Alan C. Assis
parent
a28367f507
commit
e5b675d4dc
@@ -111,7 +111,7 @@ class Stack(object):
|
||||
|
||||
return self.check_max_usage()
|
||||
|
||||
def avalaible(self):
|
||||
def available(self):
|
||||
cur_usage = self.cur_usage()
|
||||
return self._stack_size - cur_usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user