Added AlignAfterOpenBracket: AlwaysBreak and BinPackArguments: true to clang-format. Updated test/bacnet c/h files with updated format.
This commit is contained in:
@@ -37,11 +37,8 @@ static void testAnalog_Value(void)
|
||||
test_object_instance = Analog_Value_Index_To_Instance(0);
|
||||
zassert_equal(object_instance, test_object_instance, NULL);
|
||||
bacnet_object_properties_read_write_test(
|
||||
OBJECT_ANALOG_VALUE,
|
||||
object_instance,
|
||||
Analog_Value_Property_Lists,
|
||||
Analog_Value_Read_Property,
|
||||
Analog_Value_Write_Property,
|
||||
OBJECT_ANALOG_VALUE, object_instance, Analog_Value_Property_Lists,
|
||||
Analog_Value_Read_Property, Analog_Value_Write_Property,
|
||||
skip_fail_property_list);
|
||||
status = Analog_Value_Delete(object_instance);
|
||||
zassert_true(status, NULL);
|
||||
@@ -50,15 +47,12 @@ static void testAnalog_Value(void)
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
#if defined(CONFIG_ZTEST_NEW_API)
|
||||
ZTEST_SUITE(av_tests, NULL, NULL, NULL, NULL, NULL);
|
||||
#else
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(av_tests,
|
||||
ztest_unit_test(testAnalog_Value)
|
||||
);
|
||||
ztest_test_suite(av_tests, ztest_unit_test(testAnalog_Value));
|
||||
|
||||
ztest_run_test_suite(av_tests);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
#include "bacnet/get_alarm_sum.h"
|
||||
#include "bacnet/npdu.h"
|
||||
|
||||
bool datetime_local(BACNET_DATE *bdate,
|
||||
bool datetime_local(
|
||||
BACNET_DATE *bdate,
|
||||
BACNET_TIME *btime,
|
||||
int16_t *utc_offset_minutes,
|
||||
bool *dst_active)
|
||||
|
||||
Reference in New Issue
Block a user