Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #1

Merged
merged 4 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Unitemp changelog
## Unitemp 1.5
- Add Cry_dolph_55x52 image (build on latest API) (Thanks jamisonderek)
## Unitemp 1.4
- Remove version value from application manifest
- Small fix (Thanks for JamesDavid)
Expand Down
4 changes: 2 additions & 2 deletions Sensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,14 +488,14 @@ Sensor* unitemp_sensor_alloc(char* name, const SensorType* type, char* args) {
Sensor* sensor = malloc(sizeof(Sensor));
if(sensor == NULL) {
FURI_LOG_E(APP_NAME, "Sensor %s allocation error", name);
return false;
return NULL;
}

//Выделение памяти под имя
sensor->name = malloc(11);
if(sensor->name == NULL) {
FURI_LOG_E(APP_NAME, "Sensor %s name allocation error", name);
return false;
return NULL;
}
//Запись имени датчка
strcpy(sensor->name, name);
Expand Down
2 changes: 1 addition & 1 deletion application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ App(
fap_icon="icon.png",
fap_icon_assets="assets",
fap_libs=["assets"],
fap_version="1.4"
fap_version="1.5"
)
Binary file added assets/Cry_dolph_55x52.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.