Commit Graph

14 Commits (339df2751d0e62e41d48208763647c601dca3467)

Author SHA1 Message Date
nirenjan 552e638b27 Remove obsolete check for invalid handler
Since the introduction of X macros to the CLI handling code, there will
never be a condition where the handler will be NULL. This is a legacy
check from when the code had individual maps that were maintained by
hand.
2022-06-12 03:34:53 -07:00
nirenjan 44fba0c6cd Always return 1 from x52cli for any failure
Prior to this change, on failure condition, x52cli would exit with a
code that mapped directly to the return code of the function. This was
inconsistent with the behaviour if the initialization or connect steps
failed for any reason.
2022-06-12 03:32:25 -07:00
nirenjan 38917ed6e5 Add documentation for x52d 2021-08-01 23:47:24 -07:00
nirenjan 51913094cb Use cmocka to test CLI 2021-07-30 03:03:16 -07:00
nirenjan ac68ee07e5 Use non-recursive Automake 2021-07-29 23:53:21 -07:00
nirenjan f0a0a7dcaf Reorganize source layout 2017-07-27 17:56:51 -07:00
nirenjan 6d8d5a4fd4 Fix return from void function
While gcc on Linux (Travis CI) throws a warning, but otherwise ignores
this return value from void function, clang on OSX throws a fit.
2016-10-08 09:44:44 -07:00
nirenjan 1b9c52ea07 Merge pull request #10 from ryandrake08/master
Clang/OSX cleanups
2016-10-08 09:31:53 -07:00
nirenjan e5229b6aa2 Clean up enum_conversion warnings on clang/OSX 2016-10-07 22:27:13 -07:00
Ryan Drake 15b8abf3c6 Fix warnings about unused variables 2016-10-06 15:28:18 -07:00
Ryan Drake 30622eefa8 Fix control may reach end of non-void function error 2016-10-06 15:19:00 -07:00
nirenjan bbe86d554f Clear up return-type warnings 2016-10-06 10:39:16 -07:00
nirenjan b39c13fe1b x52_cli: Add stdlib.h include to prevent warnings 2016-07-31 12:25:07 -07:00
nirenjan c87e785a18 Restructure code layout
Copy files to individual folders. This makes it cleaner to add new
functionality in the future.
2015-12-08 21:46:42 -08:00