diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-02-12 19:14:26 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-02-12 19:14:26 -0500 |
commit | 3434ea540cd41459ee9cd3406df42342e1bfbe51 (patch) | |
tree | 81da8c29b934d202422e2b32132d025438a3fe8d /klippy/klippy.py | |
parent | 29131c873a43a03adcd21deb6200d4bc5fc3e380 (diff) | |
download | kutter-3434ea540cd41459ee9cd3406df42342e1bfbe51.tar.gz kutter-3434ea540cd41459ee9cd3406df42342e1bfbe51.tar.xz kutter-3434ea540cd41459ee9cd3406df42342e1bfbe51.zip |
klippy: Log the type of cpu the host is running on
Report in the log the host CPU type and count. This helps distinguish
between different rpi versions when debugging the log from a problem
report.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r-- | klippy/klippy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/klippy.py b/klippy/klippy.py index 216aff7b..abd92208 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -284,6 +284,7 @@ def main(): software_version = util.get_git_version() if debugoutput is None: logging.info("Git version: %s" % (repr(software_version),)) + logging.info("CPU: %s" % (util.get_cpu_info(),)) # Start firmware while 1: |