Skip to content

fix: clean up LCD offline message and add run-local Makefile target#99

Merged
GageLawton merged 1 commit into
mainfrom
claude/happy-meitner-WDzRp
May 26, 2026
Merged

fix: clean up LCD offline message and add run-local Makefile target#99
GageLawton merged 1 commit into
mainfrom
claude/happy-meitner-WDzRp

Conversation

@GageLawton
Copy link
Copy Markdown
Owner

Summary

Changes

  • src/display_rotation.cpp — offline fallback strings updated
  • test/Makefile.mac — new run-local target; .PHONY updated
  • README.md — Mac dev section now shows make -f test/Makefile.mac run-local as the primary command

Test plan

  • Confirm src/display_rotation.cpp no longer has leading-space padding in the offline branch
  • make -f test/Makefile.mac run-local with .env present — verify env vars load
  • make -f test/Makefile.mac run-local with .env absent — verify it starts without error
  • make -f test/Makefile.mac run — verify plain run still works

Closes #62: replace the hand-padded "Weather offline / ...retrying"
lines with "Connecting... / Please wait" — no leading spaces, looks
intentional rather than placeholder-y.

Closes #66: add run-local target to test/Makefile.mac that sources
.env before running (graceful no-op if .env is absent), matching what
systemd does via EnvironmentFile on the Pi. README updated to use
run-local as the standard Mac dev command.

https://claude.ai/code/session_01VdFLjQPRxkWMY96TZBNHKp
@GageLawton GageLawton merged commit e3dfe2e into main May 26, 2026
2 checks passed
@GageLawton GageLawton deleted the claude/happy-meitner-WDzRp branch May 26, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Add 'make run-local' target for Mac dev workflow cosmetic: LCD "Weather offline" fallback message could be cleaner

2 participants