Browse Source

vmount:Use inttypes

release/1.12
David Sidrane 4 years ago committed by Julian Oes
parent
commit
bec5d6de9b
  1. 6
      src/modules/vmount/vmount.cpp

6
src/modules/vmount/vmount.cpp

@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
* *
* Copyright (c) 2013-2020 PX4 Development Team. All rights reserved. * Copyright (c) 2013-2020, 2021 PX4 Development Team. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@ -289,7 +289,7 @@ static int vmount_thread_main(int argc, char *argv[])
break; break;
default: default:
PX4_ERR("invalid input mode %i", params.mnt_mode_in); PX4_ERR("invalid input mode %" PRId32, params.mnt_mode_in);
break; break;
} }
} }
@ -323,7 +323,7 @@ static int vmount_thread_main(int argc, char *argv[])
break; break;
default: default:
PX4_ERR("invalid output mode %i", params.mnt_mode_out); PX4_ERR("invalid output mode %" PRId32, params.mnt_mode_out);
thread_should_exit = true; thread_should_exit = true;
break; break;
} }

Loading…
Cancel
Save