targets/plc_debug.c
changeset 244 85e92d9e34a8
parent 239 112b4bc523b3
child 280 f2ef79f3dba0
equal deleted inserted replaced
243:90db933fe956 244:85e92d9e34a8
    51 struct_plcvar variable_table[%(variables_pointer_type_table_count)d];
    51 struct_plcvar variable_table[%(variables_pointer_type_table_count)d];
    52 
    52 
    53 void __init_debug()
    53 void __init_debug()
    54 {
    54 {
    55 %(variables_pointer_type_table_initializer)s
    55 %(variables_pointer_type_table_initializer)s
    56 };
    56 AtomicCompareExchange(
       
    57             &buffer_state,
       
    58             BUFFER_BUSY,
       
    59             BUFFER_FREE);
       
    60 }
    57 
    61 
    58 void __cleanup_debug()
    62 void __cleanup_debug()
    59 {
    63 {
    60 }
    64 }
    61 
    65