Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #78 from LedgerHQ/bump-version
Browse files Browse the repository at this point in the history
Bump version
  • Loading branch information
sgliner-ledger authored Nov 8, 2023
2 parents 0ed85f2 + 1503d71 commit ba40547
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GIT_DESCRIBE ?= $(shell git describe --tags --abbrev=8 --always --long --dirty 2
VERSION_TAG ?= $(shell echo "$(GIT_DESCRIBE)" | cut -f1 -d-)
APPVERSION_M=2
APPVERSION_N=4
APPVERSION_P=5
APPVERSION_P=6
APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)

# Only warn about version tags if specified/inferred
Expand Down Expand Up @@ -103,8 +103,6 @@ else
endif
endif

DEFINES += UNUSED\(x\)=\(void\)x

# Enabling debug PRINTF
DEBUG ?= 0
ifneq ($(DEBUG),0)
Expand Down
4 changes: 0 additions & 4 deletions src/apdu.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
#include <stdbool.h>
#include <stdint.h>

#if CX_APILEVEL < 8
#error "May only compile with API level 8 or higher; requires newer firmware"
#endif

#define OFFSET_CLA 0
#define OFFSET_INS 1 // instruction code
#define OFFSET_P1 2 // user-defined 1-byte parameter
Expand Down
4 changes: 0 additions & 4 deletions src/keys.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
#include "os_cx.h"
#include "types.h"

#if CX_APILEVEL <= 8
#error "CX_APILEVEL 8 and below is not supported"
#endif

struct bip32_path_wire {
uint8_t length;
uint32_t components[0];
Expand Down
1 change: 0 additions & 1 deletion src/swap/swap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "handle_swap_commands.h"

static void library_main_helper(libargs_t *args) {
check_api_level(CX_COMPAT_APILEVEL);
PRINTF("Inside library \n");
switch (args->command) {
case CHECK_ADDRESS:
Expand Down

0 comments on commit ba40547

Please sign in to comment.