Skip to content
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: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ARCH=aarch64
ARG SDK_VERSION=12.2.0
ARG SDK_VERSION=12.7.0
ARG SDK_IMAGE=docker.io/axisecp/acap-native-sdk
ARG LIBMODBUS_VERSION=3.1.11
ARG BUILD_DIR=/usr/local/src
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schemaVersion": "1.7.0",
"schemaVersion": "1.8.0",
"acapPackageConf": {
"setup": {
"appName": "modbusacap",
"friendlyName": "Modbus Prototype",
"vendor": "Axis Communications AB",
"embeddedSdkVersion": "3.0",
"runMode": "respawn",
"version": "1.2.6"
"version": "1.2.7"
},
"configuration": {
"settingPage": "config.html",
Expand Down
5 changes: 2 additions & 3 deletions modbusacap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <axevent.h>
#include <axparameter.h>
#include <libgen.h>
#include <param.h>

#include "modbus_client.h"
#include "modbus_server.h"
Expand Down Expand Up @@ -285,7 +284,7 @@ static void scenario_callback(const gchar *name, const gchar *value, void *data)
return;
}

guint scenario = atoi(value);
const guint scenario = atoi(value);
assert(0 < scenario);
LOG_I("%s/%s: Got new %s (%u)", __FILE__, __FUNCTION__, name, scenario);

Expand Down Expand Up @@ -385,7 +384,7 @@ static gboolean signal_handler_init(void)
int main(int argc, char **argv)
{
GError *error = NULL;
char *app_name = basename(argv[0]);
const char *app_name = basename(argv[0]);
open_syslog(app_name);

int ret = EXIT_SUCCESS;
Expand Down