Moving more text into strings.c/.h

This commit is contained in:
Ben V. Brown
2017-08-08 10:49:15 +10:00
parent 48040acbcc
commit a10947cdac
6 changed files with 69 additions and 34 deletions

View File

@@ -11,7 +11,6 @@ void delayMs(uint32_t ticks);
extern volatile uint32_t lastMovement;
extern volatile uint8_t rawKeys;
inline uint32_t millis() {
return system_Ticks;
}

View File

@@ -12,7 +12,7 @@
#include <stdint.h>
#include "stm32f10x_flash.h"
#include "Oled.h"
#define SETTINGSVERSION 15 /*Change this if you change the struct below to prevent people getting out of sync*/
#define SETTINGSVERSION 16 /*Change this if you change the struct below to prevent people getting out of sync*/
//Display Speeds
#define DISPLAYMODE_FAST (0x00)
#define DISPLAYMODE_MEDIUM (0x01)

View File

@@ -14,5 +14,17 @@
extern const char* SettingsLongNames[13];
extern const char* SettingsShortNames[13];
extern const char* TempCalStatus[3]; //All fixed 8 chars
extern const char* UVLOWarningString; //Fixed width 8 chars
extern const char* CoolingPromptString; //Fixed width 5 chars
extern const char SettingTrueChar;
extern const char SettingFalseChar;
extern const char SettingFastChar;
extern const char SettingMediumChar;
extern const char SettingSlowChar;
extern const char SettingRightChar;
extern const char SettingLeftChar;
extern const char SettingAutoChar;
extern const char SettingTempCChar;
extern const char SettingTempFChar;
#endif /* STRINGS_H_ */