Skip to content

Commit

Permalink
added some TODOs to firmware scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
qlrd committed Jan 5, 2024
1 parent 01c3209 commit 5e53d09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion firmware/scripts/krux_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@
import sys


# TODO: create typings for color param and return step
def rgb888torgb565(color):
"""convert to gggbbbbbrrrrrggg to tuple"""
"""
Convert to gggbbbbbrrrrrggg to tuple
:param color: tuple
"""
red, green, blue = color
red *= 31
red //= 255
Expand Down
5 changes: 5 additions & 0 deletions firmware/scripts/minify.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

# TODO: what this script do?
"""
Some documentation about this script
"""
import ast
import sys
import astor
Expand Down

0 comments on commit 5e53d09

Please sign in to comment.