-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose the ESP chip info and the build env
This change exposes the ESP chip info (#49) and the Platform IO build env (#223) via the `/config` endpoint to help with hardware identification and selecting an appropriate software update. Also includes a few bits of tidy-up.
- Loading branch information
1 parent
56c6629
commit c2390fd
Showing
5 changed files
with
187 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,5 +151,6 @@ | |
#endif // !SCHEDULE_PATH | ||
|
||
extern String currentfirmware; | ||
extern String buildenv; | ||
|
||
#endif // _EMONESP_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.