monero-project / kastelo

The Sekura Monero Hardware Wallet
Other
111 stars 26 forks source link

OLED: define SPISend #22

Closed coneiric closed 6 years ago

coneiric commented 6 years ago

Adds definition for SPISend.

Fixes the following compilation failure in master:

$ make                                                                                                                               
src/display.o: In function `oledRefresh':                                                                                                   
kastelo/firmware/monezor/src/display.c:204: undefined reference to `SPISend'                                                  
kastelo/firmware/monezor/src/display.c:209: undefined reference to `SPISend'                                                  
src/display.o: In function `oledInit':                                                                                                      
kastelo/firmware/monezor/src/display.c:168: undefined reference to `SPISend'                                                  
collect2: error: ld returned 1 exit status                                                                                                  
make: *** [../libopencm3.rules.mk:202: monezor.elf] Error 1
michaesc commented 6 years ago

Hello Oneiric,

On sam., févr. 24, 2018, oneiric wrote:

Adds definition for SPISend.

Fixes the following compilation failure in master:

$ make                                                                                                                               
src/display.o: In function `oledRefresh':                                                                                                   
kastelo/firmware/monezor/src/display.c:204: undefined reference to `SPISend'                                                  
kastelo/firmware/monezor/src/display.c:209: undefined reference to `SPISend'                                                  
src/display.o: In function `oledInit':                                                                                                      
kastelo/firmware/monezor/src/display.c:168: undefined reference to `SPISend'                                                  
collect2: error: ld returned 1 exit status                                                                                                  
make: *** [../libopencm3.rules.mk:202: monezor.elf] Error 1

You can view, comment on, or merge this pull request online at:

https://github.com/monero-project/kastelo/pull/22

-- Commit Summary --

  • OLED: define SPISend

-- File Changes --

M firmware/monezor/inc/display.h (2)

Thanks a lot, good one. I didn't see it at first in my email, sorry for the delay.

Cheers, Michael

-- Michael Schloh von Bennewitz Software Development Engineer Europalab Networks R&D, Munich Office: +49(89)44239885 UTC+2 Mobile: Same as 'Office' Web: http://michael.schloh.com/