diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-09-03 22:02:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-03 23:16:38 -0400 |
commit | 7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e (patch) | |
tree | 95a1984058658800446ace751b6d0adeee35a415 /src/basecmd.h | |
parent | 7b7f57e01c87efc74ed0c632b14c1fc7897c5a6e (diff) | |
download | kutter-7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e.tar.gz kutter-7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e.tar.xz kutter-7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e.zip |
pru: Support config_reset command to manually reset mcu
Add support for resetting the MCU via a software only mechanism. This
is useful on the PRU.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/basecmd.h')
-rw-r--r-- | src/basecmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basecmd.h b/src/basecmd.h index 8787b194..21555bf8 100644 --- a/src/basecmd.h +++ b/src/basecmd.h @@ -10,6 +10,7 @@ void *oid_lookup(uint8_t oid, void *type); void *oid_alloc(uint8_t oid, void *type, uint16_t size); void *oid_next(uint8_t *i, void *type); void stats_update(uint32_t start, uint32_t cur); +void config_reset(uint32_t *args); #define foreach_oid(pos,data,oidtype) \ for (pos=-1; (data=oid_next(&pos, oidtype)); ) |