Fix unit tests leaking resources

This was harmless but none the less is not good style and needs fixing.
This commit is contained in:
Lorenz Meier
2017-01-03 14:44:45 +01:00
committed by Beat Küng
parent 2880bb185f
commit 9f3fe2a802
6 changed files with 27 additions and 52 deletions
+7 -7
View File
@@ -1,8 +1,6 @@
/****************************************************************************
* px4/sensors/test_gpio.c
*
* Copyright (C) 2012 PX4 Development Team. All rights reserved.
* Lorenz Meier <lm@inf.ethz.ch>
* Copyright (c) 2012, 2017 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -14,7 +12,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* 3. Neither the name PX4 nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -33,9 +31,11 @@
*
****************************************************************************/
/****************************************************************************
* Included Files
****************************************************************************/
/**
* @file test_uart_baudchange.c
*
* @author Lorenz Meier <lorenz@px4.io>
*/
#include <px4_config.h>
#include <px4_defines.h>