mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-13 13:29:50 +04:00
Api Symbols: replace asserts with checks (#3507)
* Api Symbols: replace asserts with checks * Api Symbols: replace asserts with checks part 2 * Update no args function signatures with void, to help compiler to track incorrect usage * More unavoidable void * Update PVS config and code to make it happy * Format sources * nfc: fix checks * dead code cleanup & include fixes Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <cli/cli.h>
|
||||
#include <toolbox/args.h>
|
||||
|
||||
static void input_cli_usage() {
|
||||
static void input_cli_usage(void) {
|
||||
printf("Usage:\r\n");
|
||||
printf("input <cmd> <args>\r\n");
|
||||
printf("Cmd list:\r\n");
|
||||
@@ -40,7 +40,7 @@ static void input_cli_dump(Cli* cli, FuriString* args, Input* input) {
|
||||
furi_message_queue_free(input_queue);
|
||||
}
|
||||
|
||||
static void input_cli_send_print_usage() {
|
||||
static void input_cli_send_print_usage(void) {
|
||||
printf("Invalid arguments. Usage:\r\n");
|
||||
printf("\tinput send <key> <type>\r\n");
|
||||
printf("\t\t <key>\t - one of 'up', 'down', 'left', 'right', 'back', 'ok'\r\n");
|
||||
|
||||
Reference in New Issue
Block a user