Skip to content

Commit a14c47a

Browse files
fix f18, formatting
1 parent 327e327 commit a14c47a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

scripts/serial_cli_perf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ def main():
1111
logger = logging.getLogger()
1212
parser = argparse.ArgumentParser()
1313
parser.add_argument("-p", "--port", help="CDC Port", default="auto")
14-
parser.add_argument("-l", "--length", type=int, help="Number of bytes to send", default=1024**2)
14+
parser.add_argument(
15+
"-l", "--length", type=int, help="Number of bytes to send", default=1024**2
16+
)
1517
args = parser.parse_args()
1618

1719
if not (port := resolve_port(logger, args.port)):
@@ -49,8 +51,9 @@ def main():
4951
speed = args.length / delta
5052
print(f"Speed: {speed/1024:.2f} KiB/s")
5153

52-
port.write(b"\x03") # Ctrl+C
54+
port.write(b"\x03") # Ctrl+C
5355
port.close()
5456

57+
5558
if __name__ == "__main__":
5659
main()

targets/f18/api_symbols.csv

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
entry,status,name,type,params
2-
Version,+,82.0,,
2+
Version,+,82.1,,
33
Header,+,applications/services/bt/bt_service/bt.h,,
44
Header,+,applications/services/bt/bt_service/bt_keys_storage.h,,
55
Header,+,applications/services/cli/cli.h,,
@@ -1135,6 +1135,7 @@ Function,+,furi_event_loop_subscribe_message_queue,void,"FuriEventLoop*, FuriMes
11351135
Function,+,furi_event_loop_subscribe_mutex,void,"FuriEventLoop*, FuriMutex*, FuriEventLoopEvent, FuriEventLoopEventCallback, void*"
11361136
Function,+,furi_event_loop_subscribe_semaphore,void,"FuriEventLoop*, FuriSemaphore*, FuriEventLoopEvent, FuriEventLoopEventCallback, void*"
11371137
Function,+,furi_event_loop_subscribe_stream_buffer,void,"FuriEventLoop*, FuriStreamBuffer*, FuriEventLoopEvent, FuriEventLoopEventCallback, void*"
1138+
Function,+,furi_event_loop_subscribe_thread_flags,void,"FuriEventLoop*, FuriEventLoopThreadFlagsCallback, void*"
11381139
Function,+,furi_event_loop_tick_set,void,"FuriEventLoop*, uint32_t, FuriEventLoopTickCallback, void*"
11391140
Function,+,furi_event_loop_timer_alloc,FuriEventLoopTimer*,"FuriEventLoop*, FuriEventLoopTimerCallback, FuriEventLoopTimerType, void*"
11401141
Function,+,furi_event_loop_timer_free,void,FuriEventLoopTimer*
@@ -1145,6 +1146,7 @@ Function,+,furi_event_loop_timer_restart,void,FuriEventLoopTimer*
11451146
Function,+,furi_event_loop_timer_start,void,"FuriEventLoopTimer*, uint32_t"
11461147
Function,+,furi_event_loop_timer_stop,void,FuriEventLoopTimer*
11471148
Function,+,furi_event_loop_unsubscribe,void,"FuriEventLoop*, FuriEventLoopObject*"
1149+
Function,+,furi_event_loop_unsubscribe_thread_flags,void,FuriEventLoop*
11481150
Function,+,furi_get_tick,uint32_t,
11491151
Function,+,furi_hal_adc_acquire,FuriHalAdcHandle*,
11501152
Function,+,furi_hal_adc_configure,void,FuriHalAdcHandle*
@@ -2361,13 +2363,13 @@ Function,-,pow,double,"double, double"
23612363
Function,-,pow10,double,double
23622364
Function,-,pow10f,float,float
23632365
Function,+,power_enable_low_battery_level_notification,void,"Power*, _Bool"
2366+
Function,+,power_enable_otg,void,"Power*, _Bool"
23642367
Function,+,power_get_info,void,"Power*, PowerInfo*"
23652368
Function,+,power_get_pubsub,FuriPubSub*,Power*
23662369
Function,+,power_is_battery_healthy,_Bool,Power*
23672370
Function,+,power_is_otg_enabled,_Bool,Power*
23682371
Function,+,power_off,void,Power*
23692372
Function,+,power_reboot,void,"Power*, PowerBootMode"
2370-
Function,+,power_enable_otg,void,"Power*, _Bool"
23712373
Function,+,powf,float,"float, float"
23722374
Function,-,powl,long double,"long double, long double"
23732375
Function,+,pretty_format_bytes_hex_canonical,void,"FuriString*, size_t, const char*, const uint8_t*, size_t"

0 commit comments

Comments
 (0)