Sun support (#531)
* Sun * Add sun support * Lint * Updates * Fix elevation * Lint * Update mqtt_climate.cpp
This commit is contained in:
1 parent
f2540bae23
commit
f1a0e5a313
22 files changed
+740
-66
No files matched your search
@@ -424,10 +424,14 @@ def new_Pvariable(id, # type: ID
|
||||
return Pvariable(id, rhs)
|
||||
|
||||
|
||||
def add(expression, # type: Union[SafeExpType, Statement]
|
||||
def add(expression, # type: Union[Expression, Statement]
|
||||
):
|
||||
# type: (...) -> None
|
||||
"""Add an expression to the codegen setup() storage."""
|
||||
"""Add an expression to the codegen section.
|
||||
|
||||
After this is called, the given given expression will
|
||||
show up in the setup() function after this has been called.
|
||||
"""
|
||||
CORE.add(expression)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user