Skip to content

Commit 4e31061

Browse files
committed
update pns-firmware filename
1 parent 383ac50 commit 4e31061

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1111
org.label-schema.vcs-ref=$VCS_REF
1212

1313
#version
14-
ENV HILSCHERNETPI_NETX_PROGRAMMING_EXAMPLES_VERSION 1.1.3
14+
ENV HILSCHERNETPI_NETX_PROGRAMMING_EXAMPLES_VERSION 1.1.4
1515

1616
#labeling
1717
LABEL maintainer="[email protected]" \

examples/sources/PNS_simpleConfig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,8 @@ int main(int argc, char* argv[])
517517
while( (lRet = stat("/opt/cifx/deviceconfig/FW/channel0/R160D000.nxf",&buffer)) != 0) {
518518
printf("\nThe PROFINET IO device firmware has not been found installed.\n");
519519
printf("Installing the firmware now.\n");
520-
if( system("dpkg -i ./firmwares/netx-docker-pi-pns-3.14.0.5.deb") == -1) {
521-
printf("Installing the firmware failed. Check if firmware 'netx-docker-pi-pns-3.14.0.5.deb' package is located in folder './firmwares'(relative path to demo app).\n");
520+
if( system("dpkg -i ./firmwares/netx-docker-pi-pns-4.5.0.5.deb") == -1) {
521+
printf("Installing the firmware failed. Check if firmware 'netx-docker-pi-pns-4.5.0.5.deb' package is located in folder './firmwares'(relative path to demo app).\n");
522522
return 0;
523523
}
524524
}

0 commit comments

Comments
 (0)