diff options
author | Christian Hammacher <bmasterc@gmail.com> | 2021-10-28 14:58:15 +0300 |
---|---|---|
committer | Christian Hammacher <bmasterc@gmail.com> | 2021-10-28 14:58:15 +0300 |
commit | 8207b22cc13e7893ae1cb43f4aef4a7632cac5b3 (patch) | |
tree | bd49861385980e72aeb6fe16fae0c3acc5895852 /src/RepRapFirmware.h | |
parent | 5e9d621403eb54b00a84d4824b75c056121730aa (diff) |
SBC improvements for 3.4-b6
Refactored various parts of the SBC interface
Renamed Linux to SBC in various places
CAN updater checks if file is present on SBC before update
SBC task is only woken up when SPI transfers finish
Bug fix: Codes that were sent back to the SBC (e.g. from USB) caused temp reports to be printed
Bug fix: SBC reconnects could take longer than expected
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r-- | src/RepRapFirmware.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RepRapFirmware.h b/src/RepRapFirmware.h index 1575632e..48470852 100644 --- a/src/RepRapFirmware.h +++ b/src/RepRapFirmware.h @@ -270,7 +270,7 @@ enum Module : uint8_t moduleFilamentSensors = 13, moduleWiFi = 14, moduleDisplay = 15, - moduleLinuxInterface = 16, + moduleSbcInterface = 16, moduleCan = 17, numModules = 18, // make this one greater than the last real module number noModule = numModules @@ -310,8 +310,8 @@ class PortControl; class Display; #endif -#if HAS_LINUX_INTERFACE -class LinuxInterface; +#if HAS_SBC_INTERFACE +class SbcInterface; #endif #if SUPPORT_CAN_EXPANSION @@ -566,7 +566,7 @@ constexpr size_t NumCoordinateSystems = 1; #define DEGREE_SYMBOL "\xC2\xB0" // degree-symbol encoding in UTF8 -#if HAS_LINUX_INTERFACE +#if HAS_SBC_INTERFACE typedef uint32_t FileHandle; const FileHandle noFileHandle = 0; #endif |