indented using indent.sh script.
This commit is contained in:
@@ -648,7 +648,7 @@ int Device_Read_Property_Local(
|
||||
return 0;
|
||||
}
|
||||
apdu = rpdata->application_data;
|
||||
switch ((int)rpdata->object_property) {
|
||||
switch ((int) rpdata->object_property) {
|
||||
case PROP_DESCRIPTION:
|
||||
characterstring_init_ansi(&char_string, "BACnet Demo");
|
||||
apdu_len =
|
||||
@@ -851,7 +851,7 @@ bool Device_Write_Property_Local(
|
||||
wp_data->error_code = ERROR_CODE_PROPERTY_IS_NOT_AN_ARRAY;
|
||||
return false;
|
||||
}
|
||||
switch ((int)wp_data->object_property) {
|
||||
switch ((int) wp_data->object_property) {
|
||||
case PROP_OBJECT_IDENTIFIER:
|
||||
if (value.tag == BACNET_APPLICATION_TAG_OBJECT_ID) {
|
||||
if ((value.type.Object_Id.type == OBJECT_DEVICE) &&
|
||||
|
||||
@@ -1,29 +1,32 @@
|
||||
// The following functions must be written in ARM mode
|
||||
// these functions are called directly by an exception vector
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Internal functions
|
||||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
/// Default spurious interrupt handler. Infinite loop.
|
||||
//------------------------------------------------------------------------------
|
||||
void AT91F_Spurious_handler( void )
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// Default handler for fast interrupt requests. Infinite loop.
|
||||
//------------------------------------------------------------------------------
|
||||
void AT91F_Default_FIQ_handler( void )
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// Default handler for standard interrupt requests. Infinite loop.
|
||||
//------------------------------------------------------------------------------
|
||||
void AT91F_Default_IRQ_handler( void )
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
// The following functions must be written in ARM mode
|
||||
// these functions are called directly by an exception vector
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Internal functions
|
||||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
/// Default spurious interrupt handler. Infinite loop.
|
||||
//------------------------------------------------------------------------------
|
||||
void AT91F_Spurious_handler(
|
||||
void)
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// Default handler for fast interrupt requests. Infinite loop.
|
||||
//------------------------------------------------------------------------------
|
||||
void AT91F_Default_FIQ_handler(
|
||||
void)
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// Default handler for standard interrupt requests. Infinite loop.
|
||||
//------------------------------------------------------------------------------
|
||||
void AT91F_Default_IRQ_handler(
|
||||
void)
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user