https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 8974fabd1391744ba1eb0e850929f736bd051d84 authored by a1ex on 22 October 2013, 21:29:04 UTC
Close branch ppluciennik_unify_zebras.
Tip revision: 8974fab
misc.c
// misc functions specific to 60D/109

#include <dryos.h>
#include <property.h>
#include <bmp.h>
#include <config.h>
#include <consts.h>
#include <lens.h>
#include <version.h>

// gcc mempcy has odd alignment issues?
void
my_memcpy(
    void *       dest,
    const void *     src,
    size_t          len
)
{
    while( len-- > 0 )
        *(uint8_t*)dest++ = *(const uint8_t*)src++;
}
back to top