Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stm32_libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
humanoides
tools
stm32_libraries
Commits
3ab0bbe6
Commit
3ab0bbe6
authored
4 years ago
by
smartinezs
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
ssh://gitlab.iri.upc.edu:2202/humanoides/tools/stm32_libraries
parents
f2b786c6
804913ae
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
f1/usb/src/usb.c
+0
-1
0 additions, 1 deletion
f1/usb/src/usb.c
pattern_frame_buffer/src/frame_buffer.c
+3
-3
3 additions, 3 deletions
pattern_frame_buffer/src/frame_buffer.c
with
3 additions
and
4 deletions
f1/usb/src/usb.c
+
0
−
1
View file @
3ab0bbe6
#include
"usb.h"
#include
"usbd_cdc.h"
#include
"gpio.h"
#define RX_DATA_SIZE 64
#define TX_DATA_SIZE 64
...
...
This diff is collapsed.
Click to expand it.
pattern_frame_buffer/src/frame_buffer.c
+
3
−
3
View file @
3ab0bbe6
...
...
@@ -17,12 +17,12 @@ void frame_buffer_init(TFrameBuffer *fb,TMemory *memory,unsigned short int ram_b
unsigned
int
i
;
/* initialize internal data */
frame_buffer_set_num_rows
(
fb
,
DEFAULT_FRAME_BUFFER_CONTROL_NUM_ROWS
);
frame_buffer_set_pixels_per_row
(
fb
,
DEFAULT_FRAME_BUFFER_CONTROL_NUM_PIXELS
);
frame_buffer_set_num_buffers
(
fb
,
DEFAULT_FRAME_BUFFER_CONTROL_NUM_BUFFERS
);
fb
->
ram_base_address
=
ram_base_address
;
fb
->
eeprom_base_address
=
eeprom_base_address
;
fb
->
memory
=
memory
;
frame_buffer_set_num_rows
(
fb
,
DEFAULT_FRAME_BUFFER_CONTROL_NUM_ROWS
);
frame_buffer_set_pixels_per_row
(
fb
,
DEFAULT_FRAME_BUFFER_CONTROL_NUM_PIXELS
);
frame_buffer_set_num_buffers
(
fb
,
DEFAULT_FRAME_BUFFER_CONTROL_NUM_BUFFERS
);
for
(
i
=
0
;
i
<
FB_MAX_BUFFER_LEN
;
i
++
)
fb
->
pixel_buffer
[
i
]
=
0x00
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment