Skip to content

Commit

Permalink
update pns-firmware filename
Browse files Browse the repository at this point in the history
  • Loading branch information
hilschernetpi committed Sep 14, 2020
1 parent 383ac50 commit 4e31061
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF

#version
ENV HILSCHERNETPI_NETX_PROGRAMMING_EXAMPLES_VERSION 1.1.3
ENV HILSCHERNETPI_NETX_PROGRAMMING_EXAMPLES_VERSION 1.1.4

#labeling
LABEL maintainer="netpi@hilscher.com" \
Expand Down
4 changes: 2 additions & 2 deletions examples/sources/PNS_simpleConfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ int main(int argc, char* argv[])
while( (lRet = stat("/opt/cifx/deviceconfig/FW/channel0/R160D000.nxf",&buffer)) != 0) {
printf("\nThe PROFINET IO device firmware has not been found installed.\n");
printf("Installing the firmware now.\n");
if( system("dpkg -i ./firmwares/netx-docker-pi-pns-3.14.0.5.deb") == -1) {
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");
if( system("dpkg -i ./firmwares/netx-docker-pi-pns-4.5.0.5.deb") == -1) {
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");
return 0;
}
}
Expand Down
Binary file not shown.

0 comments on commit 4e31061

Please sign in to comment.