diff options
Diffstat (limited to 'src/components/ble/SimpleWeatherService.h')
| -rw-r--r-- | src/components/ble/SimpleWeatherService.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ble/SimpleWeatherService.h b/src/components/ble/SimpleWeatherService.h index 02a4c1e4..9b3a0e9c 100644 --- a/src/components/ble/SimpleWeatherService.h +++ b/src/components/ble/SimpleWeatherService.h @@ -61,7 +61,8 @@ namespace Pinetime { Unknown = 255 }; - using Location = std::array<char, 33>; // 32 char + \0 (end of string) + using Location = std::array<char, 33>; // 32 char + \0 (end of string) + struct CurrentWeather { CurrentWeather(uint64_t timestamp, int16_t temperature, @@ -74,7 +75,7 @@ namespace Pinetime { minTemperature {minTemperature}, maxTemperature {maxTemperature}, iconId {iconId}, - location{std::move(location)} { + location {std::move(location)} { } uint64_t timestamp; |
