diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-31 08:57:14 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-31 08:57:14 +0100 |
| commit | 1891d7343a9ac25ab157c4495581a0fcbd7fbcbf (patch) | |
| tree | c6da72fdf5db30c67c28e968883f869ee57600d0 /lib/30pin.h | |
| parent | 18d33e155d2f56e59eb49dadbb30ab2f7ac3e852 (diff) | |
feat! refactor NeBoot for NeKernel.org v1.0.0
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib/30pin.h')
| -rw-r--r-- | lib/30pin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/30pin.h b/lib/30pin.h index 68691b9..7128c3f 100644 --- a/lib/30pin.h +++ b/lib/30pin.h @@ -12,11 +12,11 @@ /// @brief 30pin recovery protocol. /// @details This file contains the definitions and structures used for the 30pin recovery protocol. -#define CB_30PIN_MAG "TP" +#define NB_30PIN_MAG "TP" #define CP_30PIN_MAG_LEN (2) -#define CB_30PIN_BUFFER_LEN (498) -#define CB_30PIN_EOP_LEN (11) +#define NB_30PIN_BUFFER_LEN (498) +#define NB_30PIN_EOP_LEN (11) /// @brief 30pin recovery header. /// @param mag magic number. @@ -26,8 +26,8 @@ struct _cb_tpin_recovery_packet { uint8_t mag[CP_30PIN_MAG_LEN]; uint8_t kind; - uint8_t buffer[CB_30PIN_BUFFER_LEN]; - uint8_t eop[CB_30PIN_EOP_LEN]; + uint8_t buffer[NB_30PIN_BUFFER_LEN]; + uint8_t eop[NB_30PIN_EOP_LEN]; }; /// @brief 30pin recovery packet kinds. |
