![](/media/cache/profiles/ba5be68d3d541f2ca043d77fc54fe702.jpg.50x50_q85.jpg)
3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Message/Message.cpp@81:996c0a3319b4, 2017-05-11 (annotated)
- Committer:
- aburch1
- Date:
- Thu May 11 14:34:53 2017 +0000
- Revision:
- 81:996c0a3319b4
- Child:
- 83:0d3572a8a851
Changed the logger to use char arrays of a size 256 and fixed some issues that cropped up from this. Moved all printing statements over to use the logger
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aburch1 | 81:996c0a3319b4 | 1 | #include "Message.h" |
aburch1 | 81:996c0a3319b4 | 2 | |
aburch1 | 81:996c0a3319b4 | 3 | void Message::copy(char* ptr) |
aburch1 | 81:996c0a3319b4 | 4 | { |
aburch1 | 81:996c0a3319b4 | 5 | strncpy(text, ptr, 256); |
aburch1 | 81:996c0a3319b4 | 6 | } |
aburch1 | 81:996c0a3319b4 | 7 | char* Message::getText() |
aburch1 | 81:996c0a3319b4 | 8 | { |
aburch1 | 81:996c0a3319b4 | 9 | return text; |
aburch1 | 81:996c0a3319b4 | 10 | } |